sound slike a flakey ground wire to me. every now and then is why. does it occur when you hit a bump in the road, or is it just out of the blue on a smooth road? i am guessing loose connection, flakey ground/corroded possibly, start at the light and trace the wire back through the loom, use a DVOM to check wires for continuity