mazdatweaker
+1y
I posted how to jump out the check engine connector. . .until you do that, and see if any codes have been captured.. . .I do not kow what else to tell you.
The engine was running fine. . .and then you rebuilt it. . .and now it won't stay running. . .so maybe a wire somewhere isn't reconnected. . .and the self monitoring function of the ECM might tell you where to look.
Added edit. . .
The ECM controls the injectors, and normally the fuel pump, while the engine is running. . .but if the truck gets into a crash. . .it would be very dangerous to have the fuel pump running in case a fuel line gets ruptured. . .So the engineers have designed the ECM to stop operating the fuel pump if there is a loss of a "run" signal.
Your fuel pump relay is probably ok from your testing. . .but maybe a crank posistion sensor wire is pinched, or something else is wrong with wiring somewhere. Like a disconnected mass air flow sensor.
Like I said. . .posting some low res underhood pictures might help.