Headlight issue

Hello, I have been having an issue with my headlights. I replaced the headlight switch around 6 months ago in a 1971 Dodge Dart. Recently, my headlights have been randomly turning off and on in like flickering but completely turning off and on. It happens at random intervals and usually turning off and on the headlight switch will fix it temporarily, any ideas?
Lots of ideas.
You'll need to check them. A visual check is a good way to start.
A little background. The headlight switch had a 15 amp circuit breaker in it. It resets itself when cool.
The breaker is only for the headlights. The parking lights get power from through the fuse box.
Your car originally was supplied with 6012 sealed beam headlights. 6014 headlights were the typical replacement but drew more current on both low and high beam. This did the wiring no favors as it was only 16 and 18 ga (hence the 15 amp breaker). Some halogen sealed beam replacements draw more current, other draw less on low beam but more on high. Look at the markings on the lens and we can tell you what the lamps are if its not obvious.

Common places to find damage are at:
the headlight sockets themselves.
upload_2019-9-10_8-36-34-png.png



the dimmer switch connector
upload_2020-5-4_17-53-33-png.png

the headlight switch connector

Dana's Dart
mvimg_20200408_184645-jpg.jpg

My 67 Baccaruda
upload_2021-4-30_18-55-2.png
upload_2020-5-4_20-4-52-png.png



Some other possibilities are:
Wires chaffing against edsges of sheet metal. This can happen most easily at the back of the headlight buckets causing a short.

Ground wire issue. Ground wires for the headlamps gets screwed to the front panel the radiator mounts to.