Equivalent of a mechanical toggle switch

Well that is a classic DPDT switching contact arrangement, so any small DC DPDT relay could be used to accomplish that action.

Lefty