Over time, the contact on bottom of small 12 volt bulbs tend to become dimpled from the pressure of the spring pushing the socket contact against the base of the bulb. If you are having trouble with a light that is coming on intermittently, always check to see if the bottom of the bulb is dimpled. If it is, replace the bulb and your problem will be solved for several years.
__________________
Michael and Georgia Day
1992 Newell 43.5' #281
8V92 DDEC-2, HT740
PT Cruiser GT with Remco Transmission Pump https://newellowner.com/newell-photos/