1964 Plymouth Barracuda headlight knob won't pull out from dash

There's no set screw as the knob and shaft are made as one unit. I'd try giving it one hell of a yank and see if won't break loose. IDK if the correct knob is being repro'd for your 64. The picture adriver posted is correct for a 66/67 Charger and fit's just about every headlight switch (which you should replace).
I just removed one from a 64 Valiant. You have to push the little plastic button on the side of the switch.
I had to turn and wiggle the knob to get it out. The knob for the wipers should have a set screw, then turn
the slotted round retainers to remove the switches from the dash.