2002 GMC Sonoma - Stalled

Eng stalled while driving app 30 MPH, will not restart. Replaced cap and rotor, checked coil. Fuel 3 pressure good 50 psi. I’m thinking crankshaft position sensor or PCM. My question is how to check the crank sensor and PCM. MOO⁸

Check for spark at a spark plug during cranking and that the injectors are being pulsed.

What engine . . . ?!

If you have the 4.3 liter V6, 50psi is too low, low enough that it might not start