The headlights have a self resetting circuit breaker. That is what's causing the lights to go off, then after a while work.

Now the question is what is tripping the breaker.

I'd check for loose and dirty connections.


They say there are no such thing as a stupid question.
They say there is always the exception that proves the rule.
Don't be the exception.