Maybe I have the similar problem. I had to wiggle the switch to make sure there is good contact and that the switch is exactly at the center indented position. If the switch is just very slightly off position the dome light will not come on.
We're a forum community dedicated to the Pontiac G6. Come join the discussion on performance modifications, accessories, troubleshooting, maintenance and more!