I've been dealing with this intermittent problem with my driver's side headlight of the truck since I've had it and it originally had regular halogen headlights but since I have replaced with a good quality led comparable and have continued to have a issue of the light turning off randomly while driving or sitting parked and then coming back on after some random amount of time. The light turning off seems to be unrelated to bumps of any kind on the road but I've found that if it does turn off and I get out and give the headlight lense a good punch they will come back on most of the time. Ive replace the fuses and redone the spade end of the wire that goes to the bulbs since the plastic was cracking on the original. Recently the passenger light has been going out more frequently and for longer periods of time. I've redone connections, used dielectric grease, done fuses, and have good headlights. Thoughts? (Pictured: when the light goes off it's not fully off but just dim)