Alarms on 2002 Ford Explorer

When i'm in the house, the car safety alarm keeps going off ...

Also inside the car, the "Door Ajar" light is staying on and that alarm is going off ...

Asked by for the 2002 Ford Explorer
it is a door switch. We had the same problem and took it to the dealer. about $120 later it was all fixed
1 more answer
It sounds like a door switch is intermittent causing the alarm to go off. Are you certain all the doors and hatch are closed? Try opening and closing all of the doors/hatch and see if the light goes out. If it doesn't, one of the door switches might be faulty. The switch might be integrated into the door latch so the latch would need to be replaced. It is like that on the Rangers but I'm not sure about the Explorers