71 Duster Headlight issues

The headlight switch has a breaker built in. Does this happen on both high and low beam?

Bad connections at the headlight connector
Bad/ going bad switch breaker
Bad connections at the dimmer switch
Bad connections at the firewall connector (one beam only)
And of course the ground normally out at the rad support

Frankly, since this seems to repeat, I'd go for a bad breaker of bad connection at the switch which causes heating of the breaker
Yes it will do it both on high and low beam. Usually on high beam it starts screwing up sooner. I definitely think it something heating up. Look at and cleaned the firewall connection not that it needed it. I’m thinking either high/low beam switch or the headlight on off switch especially if it has some sort of breaker or relay built into it.