Dome light in my car won't go off?

I have a 2003 Eddie Bauer Explorer and my door ajar is on constantly. However, all of my doors are shut tight. Also, when I try and lock it the dome light stays on for about 5 min but eventually goes off. Anyone know what might be causing this? Are their sensors in the doors that may be screwed up? Whats going on here?
Update: Its not on a timer. When it works properly. Which is a rare occasion. The light shuts off immediately following locking the doors.
10 answers 10