Welcome to the forum
You are in trouble, lol.
1993 Ranger use EEC-IV computer 60 pins/wires
1995 and up used EEC-V computer 104 pins/wires
Yes the low oil light would be from oil pan sensor that the new motor doesn't have, it was on the side of the oil pan.
Just Ground that wire and low oil light will be off
1993 may or may not have had a CAM sensor, if not then it can be left unhooked, but even if it did engine will run fine without Cam sensor.
Crank sensor(CKP) on the other hand is the most important sensor on the engine, engine simply will not start without it.
Problem is that the 1993 computer needs a ICM(ignition control module) for spark, 1995 and up computer had internal ICM.
CKP hooks up to ICM in 1993
CKP sensor in 1993 is a Hall-Effect(HE) type sensor
It reads a wheel on the crank with a gap for #1 Top dead center(TDC).
In 1995 2.3l got a Variable Reluctance(VR) CKP sensor, which reads a tone wheel on the crank, this wheel has 35 teeth and a gap for TDC
HE and VR are different type of signals, there is no "wiring change" or even a circuit that can change these types of signals.
That that will be the big problem.
If you had the old engine then you should be able to pull off the crank pulley and timing belt cover then remove the CKP sensor and wheel and move it to the '97, but not sure the '97 lower engine cover has the bolt holes for the Hall effect type sensor.
May have to drill and tap holes for the sensor but it needs to be exact so without old cover it will be pretty tough.
May need to find an old, 1989-1994, 2.3l and rob some parts
In '97 the CKP sensor fits in a hole in the lower engine cover, but because there is no Hall Effect type CKP that will also work on the '97 it won't help.