Welcome to TRS
Fuel pump should run for 2 seconds when key is turned on, does that happen?
Turn key on and off repeatedly to check that
No spark as well as no fuel pressure doesn't make sense on 1989, they are separate systems.
Check if Coil has 12volts with key on.
There is one fuse, 30amp and one relay that provides power to the spark and fuel system when key is turned on.
The EEC fuse and EEC relay
EEC relay has a Brown base/socket
Look in the engine fuse box first for a 30amp fuse that might be bad.
The EEC relay is under that fuse box, there are 2 or 3 relays there.
Look here for drawing:
https://www.2carpros.com/questions/1989-ford-ranger-obd1-location
Brown one is EEC
Green Fuel pump
Black WOT relay, for Air conditioning so may or may not be there.
These are all the same kind of relay so if you have WOT relay you can swap it with EEC relay for testing
When you turn on the key the EEC relay should click closed.
That sends power to the Computer(EEC), spark system, and fuel system(Green relay)
Not sure why you wouldn't have fuel pressure if pump is running, fuel pressure regulator(FPR) on the fuel rail could be stuck open, but that wouldn't explain the no spark issue since FPR is not electric, just a spring and valve.
On older fuel tanks it isn't uncommon for the "sock" in the fuel tank to be clogged so no fuel can be pulled in by the pump, but you would have had symptoms of that ahead of time, not just engine dying outright.
And have to ask............you KNOW there is gas in the tank right, not just assuming there is because of the gas gauge?
I would add a few gallons just to be sure