Could be a bad ground, you'd be surprised the way's electricity will find a path when the normal one's not there.
Find where your light grounds to the frame and take out the screw, wire brush the contact and the frame till they are shinny put on a layer of petroleum jelly and screw it back together.
Bet that will fix it up. I've seen similar behavior in that case.
MONGO


Mongo's Garage
Vintage GM Truck's & Parts
https://mongosgarage.com