1968 Dodge charger headlight issues

I'm assuming you looked at the harness connector when you replaced the switch.
My guess is a faulty dimmer switch or wiring at it. Most likely fault location anyway