I''d take a bit of emery cloth and polish up the contacts on the bulb. As you mentioned, when you put the bulb in another fixture, it fails there also.
HalayrdZ, You netioned that you rewired with 3/16. You realize, you''ve rewired with undersized wire. In order to get the proper 3% voltage drop limit, you should have used 12awg wire. Voltage drop for nav
lights (and other critical circuits is to be limited to 3%, which in your situation calls for 12 awg ideally and 14 awg at minimum)