Equivalent of a mechanical toggle switch

What kind of voltages (and current) would be required, If you are just doing logic level (simple on/off) and small currents (no motors!) you could use logic gates, an and gate with your input and control line would work. If you need analogue switching you can get multiplexer/switch ICs, such as: http://uk.rs-online.com/web/p/multiplexer-switch-ics/0307200/ , again you just need to be careful with you max voltage/current.