So the headlight keeps turning on and off?
What’s going on? I dig around poking and prodding…
It lights up when I flash the high beam, so where could it be?

The Y/G connector on the right switch has a poor electrical connection and is corroded white.
My spouse and I replaced it and now the headlight lights up perfectly.
I’ve been thinking lately that as things get older, they start showing up… electrical issues.
