Mid 90s Fords are notorious for this issue, (including my 95 Ranger, I drove with the ding going for 3 hrs once!). The door open switch was integrated inside the latch and was pressed down when the latch was open. Closing the door would release the switch. Dirt etc would gunk it up and the button would stay stuck down causing the vehicle to think the door was open. Soaking the latch mechanism with spray lube sometimes would fix it, other times you would have to remove the panel, reach in, remove the switch, clean it and reinstall it. Ford later went back to the sill mounted push button switches.