So if I take my key out the light goes off after a few seconds. If I leave my key in and start driving the light stays on. If I push it then it goes off. So I sat in the car with it running and turned off the dome light. I left it running and then opened the door. The light stayed off. I closed the door and the light turned on. I waited and it never shut off. I turned off the car and removed the key. Opened the door and get out and after a few seconds light shuts off. So it only happens when the car is running so I do not think it is the door switch. It must be the dome light circuit.