Dude, listen to
@bobbywalter he's steering you right. Just did this swap on my '99 in 2024 using a '00 Explorer donor. He's right. I don't have the EVTMs handy or I'd take pictures and post them.
When comparing connector pinout to the diagram, look at the open side of the connector, not the harness side. If you look from the open side you'll see that there is an unpopulated pin hole right where he marked pin 38. Just because it's a 42 pin connector doesn;t mean it has 42 pins, and they don't renumber them just because they didn't use one of the holes. As bobby said it's sealed from the harness side to prevent water intrusion.
The wires for one of the pressure switches runs through the engine harness on the Ranger. On the Explorer it's run through the body harness up to the core support. That's why you have the wires on one side and not on the other. You'll have to add in wires for that switch to get the AC working properly. On mine, I used the Explorer HVAC hoses with the switch up at the core support, so I routed those wires up along the fender like the Explorer did.