that black plug is the 42 pin connector I am speaking of
every wire to control your drivetrain (engine trans) all go through there EXCEPT the fuel tank wiring and alternator charging harness
You need to map out that 42 pin connector, get yourself a 97 explorer wiring book
IN the explorer that plug is called connector C115 I believe, in a Ranger its C112..... they change the name but it is always 42 pins, they all plug together and MOST of the wires/circuits stay in the same holes...but not always and there are MID YEAR changes, so this is why nobody can make a simple chart of how to control your 5.0 drivetrain. You have to map out the one you have!! and then decide what wires need power, ground, signals, etc.......
Then you will need to give the engine fuel pressure and a return line (36 psi at the rail for a 97)
and then you can start it