Ah, yes, Joseph Lucas, Prince of Darkness.
My 1961 MG Midget had this alarming habit of extinguishing its headlights at random times. It still had the combination light and ignition switch. You turned a ring around the switch to control the lights. Very bad design and, by the time I owned the car, new ones were almost impossible to obtain.
So, that was when I installed a walnut dash. The ignition switch still worked fine, so I put a line of toggle switches with Walnut handles on the dash for the lights and left the old switch in place.
After that, the lights worked fine. I can't say the same for the generator and voltage regulator. Ah, well...
My first truck wa a 1974 toyota hilux. I had to patch parts of the electrical system with parts bought at a home center. It also leaked oil so bad it would change itself.