The story
- Middle Dutch · borrowed fromswijch“twig”
- English todayswitch
Perhaps from Middle Dutch swijch (“twig”), first attested in c. 1592. The mechanical device for altering the direction of something sense is first attested in c. 1797, pertaining to pivoted rails on minecart railways, which were once wooden.
Etymology from Wiktionary, CC BY-SA 4.0.