Equivalent of a mechanical toggle switch

This is the schematic for the mechanical slide switch I'm using now. I wonder if there's an electronic equivalent that can be toggled with (a third) signal.

By the default, the signal lines are connected to pine 1 and 3 and when triggered it needs to switch to pins 2 and 4 (and remain there for as long as the control signal is present. When that signal goes away, the switch needs to revert back to pins 1 and 3.)

switch.png