~ Two Things ~

I have had similar problems with other vehicles (ford)
the causes were

intermittently functioning fuel pump, good pressure then bad, then good again, you could hear it when I took it off and tested it

fuel pump relay beginning to fail,
or corrosion on the fuel pump relay plug in connector

(not sure if any of this will help or will apply to the dodge truck)