I had this problem with my Mustang. Turns out the newer headlights I installed were drawing too many amps. And it was causing the breaker in the headlights to switch on and off. I installed a relay switch and powered it straight from the battery and the former switch turns on said relay instead. Problem solved. I hope this helps.