Dome light issue

Sounds like the Socket is fouled up. Bulb not grounding or not making the positive connection through the socket.
I know its difficult to work overhead, If you had the dome light on a bench you can see or repair it with ease. Even test it with a 12v power source.