I have a 1993 5.7 K1500 Silverado, I can drive it fine for about 20 minutes then it will die. I hit the gas pedal and nothing, wait a couple seconds and it will start right back up for a second or two then die. If I leave it off for 10 minutes, it starts and runs fine for about 10 minutes. What would be an intermittent problem like that I can check.
Whenever I see a good running engine that dies when it gets hot, then runs when it cools down, I think electrical.
In your case, coil, ignition control module, pick-up coil, distributer (cap and rotor)
Back around 1990 those 5.7s had 2 oil pressure sensors. One was by the oil filter (it was for the gauge) the other was in the back of the engine by the firewall. (it was part of the fuel pump relay circuit).
But I'm pretty sure by 1993 they incorporated both into one sensor. Still, if it's acting up it could shutdown the fuel pump relay. (again electrical).
The Moderator is right saying to test the fuel pressure when it dies/no start but for you it's a little bit of extra work (which will be useful now and in the future).
I'm pretty sure you don't have any shrader valve to connect a fuel pressure gauge. You can find T-fittings with a schrader valve on Amazon. You can either connect it inline at the throttle body or (downstream) right after the fuel filter.
Either way, you could just keep a can of starter fluid in the truck. During a "stall/no start" you could spray some into the throttle body to see if the truck fires up for a second or 3.
If it does it's a fuel pump, filter, or fuel pump circuit issue.
If it doesn't it's an ignition issue (coil, ignition control module, pick-up coil, distributer (cap and rotor)).
Helpful Links:
https://troubleshootmyvehicle.com/gm/4.3L-5.0L-5.7L/fuel-pump-circuit-tests-1
https://easyautodiagnostics.com/gm/4.3L-5.0L-5.7L/distributor-mounted-icm-tests-1
Test the fuel pump with a pressure gauage