GOOD AFTERNOON ALL!
I want to thank you all for the help you've given me previously on another of my vehicle.
here's the deal....
I am having an issue with my 97 Ford expedition 4WD 5.4L. The countesy light under door on all doors stays on even after shutting doors and driving vehicle!!!
I am going crazzy and also plan to wire up my running boards to this wiring but again with them being on all the time i dont want my battery being drainned.......
Can you please give me some ideas? perhaps best cheap method i can do?
1. I am thinking door trigger might be bad? How do you test?
2. if i wanted to disregard that door trigger and wire up my courtesy lights to new cheap door jams how would i wire door jams? i understand it is magenitc but no idea how to wire such... ? 
again thanks for your help all!
In your vehicle it is possible that the door open switches are integrated in to the door latch itself inside the door. This makes them a pain to work with, since you can't really access them without taking the door apart.
Look for any visible door switches - if you can see any disconnect them one at a time and see if the lights turn off. If not, it is possible that the module that controls the lighting is bad (BCM or GEM module or whatever they called it back then).
-------------
Kevin Pierson
Hi saxproff27...... Looks like i have the same problem. This is a '98 Expedition 4WD 5.4 engine so we might have the same situation.I just began the repair process and i will post the running story as the repair proceeds. Maybe you can learn from my mistakes.With this vehicle the interior lights and running board lights stay on even with the door shut and the engine running.If you shut it off eventually the lights will go off. In about an hour or so.
Step 1 - like you i began by poking about on the internet. Seems that these expeditions are well known for this problem. The door ajar switch is located on the bottom of the door latches, and get sticky over time.
Step 2 - lubricate, with wd40 or equivalent, from outside, all door latches. So i hosed them down good... ^_^... no luck at all, same problem.
Step 3 - pull the relay and see if swapping another from the fuse box (as there are 2 exactly the same) might help. No luck eitherFor location of the relay see here: https://www.analogstereo.com/bx.phpSee pages 131 and 133.
Step 4 - pull drivers side door panel and completely remove the latch and door ajar switch. Tested the switch with an Ohm meter and all tested good.
Step 5 - pulled the headlight switch and unplugged it (since it has the interior light switch on it) even with the headlight switch and drivers door switch out... the interior lights and running board lights remain ON.
This is where i am right now. As i said before, as i test and continue the process, i will keep a running post going and maybe you can follow what i did and save yourself some failed test steps. I'm heading outside now to continue working.Wish me luck ^_^
Wrenchcat
Check the switch in the hatch. I do not know if it is in the window latch or the door latch. But there seems to be problems with one of them.