switch is an option that many native speakers know by five years of age:
a small device, usually pushed up or down with your finger, that controls and turns on or off an electric current
By far the majority of its occurences refer to electrical switches. In this family we find light switches, machinery switches, and so on:
A switch is an electrical component which can make or break electrical circuit automatically or manually. Switch is mainly works with ON (open) and OFF (closed) mechanism. Numerous circuits hold switches that control how the circuit works or actuate different characteristics of the circuit. The classification of switches depends on the connection they make. Two vital components that confirm what sorts of connections a switch makes are pole and throw.
... One of these classes is The Single Pole Single through (SPST), a basic on/off switch that just connects or breaks the connection between two terminals.
but there are also rail switches:
a device made usually of two movable rails and necessary connections and designed to turn a locomotive or train from one track to another.
And mechanical switches in general, which I did not find in any dictionary, but are certainly used (in a certain kind of ground-piercing nuclear bomb, for example), require a force to set in action or position, then keep that position until further force is input. One example is the
rolamite: It was developed in 1966 Donald Wilkes as a result of his search for a reliable miniature mechanical switch. The switch that Wilkes designed was one-eighth the size of the previous switch and had about half the number of parts.
--Lexicon Universal Encyclopedia, 1985
I'm grateful to Kevin Reid over at Eng.SE for providing the name "Rolamite"; I had learned about it once back in childhood days, but couldn't remember it at all now.
And while you're over there, check out the persistent bistate toggle switch!