Positive feed
Put the switch between the supply’s positive terminal and the load.
Build a basic Switch (Toggle, Rocker and DIP) circuit with labeled pins, component values and connection guidance.
Supply, switch in the positive wire, lamp, return.
Follow the component values and pin connections
Put the switch between the supply’s positive terminal and the load.
0.5 A at 12 V suits the toggle or rocker, never the DIP switch.
For a mode input: switch to ground, pull-up to the supply, 50 mA is plenty.