Answer : Toggle switch
A toggle switch is a switch that has just two positions. For example, light switches that turn a light on or off are toggle switches.
To switch from one setting to another. The term toggle implies that there are only two possible settings and that you are switching from the current setting to the other setting.