Te head ligths will go off when fist starting out. If I play with the dimmer switch they will come back on. But then they sometimes go back off again while driving
Head Lights go off on 2006 Dodge Charger
Sounds like the dimmer switch is failing. I'd check there first.
Mine just started doing the same thing. I get in the car i turn the switch on the lights may come on then go off. If i switch them off the lights then come back on and go off after a minute or so.