Unscrewed 2 torx screws for the ashtray and popped off the dash. Unscrewed 2 torx screws for a bracket holding the headlight switch. Popped off the headlight knob by pushing the button on the switch. Unplug old switch and plug in new one.
I had more problems than you, for my 1994 headlight switch. (Mine broke internally and would not pull or push, except with great difficulty; thought the lights would remain on forever.)
1) I disconnected the battery. Set the brake and put the tranny in 1st gear, if you have an automatic. This allows the panel to clear the shifter.
2) Remove the 2 torx screws from the ash tray. Pull out the knob and you'll see a small natch. Use a small screwdriver or pick and lift the clip, to slide the knob off.
3)Use care when unsnapping the gray dash section, because the clips are fragile. (Some of mine were broken off from a previous repair.) Now, there are 2 wiring harnesses attached to this panel, which operate nothing (on my rig). Detach these. With the truck in 1st, the panel will flex enough to allow it to be removed.
4)Thee is a plastic trim ring (behind the knob) that must be unscrewed a couple turns to allow some flex in the switch... if the bracket will not clear the dash. Otherwise you may bend that top tab. Remove the 2 torx screws from the mounting bracket and the switch will come out. Detach the wiring harness and remove the trim ring.
5) Now you are supposed to be able to remove the shaft by pressing a button on the bottom of the switch, Use pliers (not the knob) to get a good grip. Mine would not release, so I bought a replacement knob/shaft, and tossed the knob.
6) The aftermarket shaft is slightly bigger than factory. The trim ring would not slide over the shaft easily. I used a small drill the size of the hole and reamed the trim ring's central hole slightly larger. Otherwise the switch will bind up once installed.
7) Reassemble in reverse order. Use care to insure the switch is centered and the tab is in the mounting bracket slot before tightening.
8) When done, I found the new shaft was about an inch too long. Measure carefully and the shaft can be hacksawed to proper length w/o removing the switch.