A door switch may be broken or out of adjustment or the dome light switch on the dash is turned on.
For most vehicles it is on the inside front of the door, where it is pressed down if the door is shut.
I suspect its because of a defective door jamb switch, which is inside the drivers door on the engine side.
door open from inside or outside
Fod product? Spray the door latch assembly liberally with WD-40, operate the door a few times then spray with a silicone spray
The switches for the dome light on each door of a 2004 Olds Alero are at the front of the door. They are on the door frame where the door meets the frame when it is closed. If the dome light is staying on, try checking the dome light control by the headlight switch, also. It may have gotten bumped when entering the vehicle.
There is a sensor (usually located on the inside of the door frame) that needs to be pressed in to let the car know that the door is closed. Try pressing and holding the door shut to see if the dome light turns off. If it does and you let go of the door, then the button is not being engaged. Maybe it is stuck. Use some WD-40 on it. As for the stuck door, take off the door panel and spray WD-40 on it to make it easier on the door lock mechanism to operate.
How do you remove the rear door panels on your 1994 Mercury Grand Marquis They are shut and will not open the locking mechanism has fallen down inside the door?
First shut all the doors then use your light switch to turn off or on dome lights if that doesn't work it could be a bad door pin switch
check fuse and sensors.
the door switches are inside the door lock its self
let the door be shut
Many rangers have a micro-switch built into the door latch that grounds when the door is shut. If the switches become dirty, they will cause the dome light, chime, and door ajar light to stay on. A few shots of contact cleaner should do them justice.