Turn the headlights on (pull the switch all the way out). Then depress the release button and pull the knob and shaft out of the switch. Then unscrew the ferrel (sp?).
Disconnect the wires and remove the switch. Earlier trucks used screw-on connections, later are a big plug, I don't know what yours is.