When you douche out the latches, use a screwdriver shank to open/close the latch while you use the outside door handle. Much faster than slamming the door a bunch of times.
The idle racing could be the IAC. Try cleaning it. It's held on the throttle body with two 8mm bolts. Carb cleaner, SeaFoam, whatever you've got will clean it. Should be able to reuse its gasket.
The other possibility is vacuum leak. The 4.0 intakes gaskets are notorious for that. Eventually, that should set codes P0171, P0174. Should also inspect the PCV tubing and connections for cracks/rot. Can also spray carb cleaner at likely vacuum leak areas and see if the idle changes.
2000 2.5 MO5D 4.10 one-wheel drive DD - gave to my older son
1990 STX 87 2.9 going in.....Junked it
2000 3.0 4WD M05D 4.10 S-cab Off-Road package with 235-75-15" tires, hotrod DD, lol