I would start with replacing the head light switch
Headlights,interior lights stop working.checked all fuses. I would suspect the headlight switch and/or the electrical connection at the headlight switch is faulty.
Check fuses or headlight switch
bad headlight switch
it could be the headlight relay. if not it may be in the switch.
I would guess the headlight dimmer switch on the floor board is bad or has a loose wire. Possibly the head light switch is bad. The headlight switch has a separate circuit breaker for just the head lights.
it's your headlight switch
Probably the headlight switch is defective. When the car warms up, the metal contacts will expand, causing them to again make contact and turn lights on.
Pull out slightly on the headlight switch. If the fog lights do not respond you need to replace the switch.
iT CAN BE WIRING OR BAD HEADLIGHT SWITCH.
Try changing the headlight switch.
bad headlight switch.