I have a similar problem, it truns off while driving and on the dash board says that it's check battery system. Idk what to do I have replace alot of stuff but nothing seems to work.
The plastic manifolds on these trucks warp with time a smoke test will tell you if u have an air leak if there's an air leak ur gonna stall. There's alot of videos on how to do a smoke test really cheap without having to take it to a mechanic.
I have the same problem I replace the fuel pump intake gaskets fuel rail sensor O2 sensors Cam and crank sensor mass air flow sensor fuel filter accelerator pedal it runs good for about 15-20 minutes then it starts to stall start up for 10K then it'll start stalling then it starts to sputter then it starts to have no power then it'll start to laga little bit Wampler pedal this lightly and it'll start to go and take off run good for a little bit then it wants to start stalling again and lagging I keep telling everybody it's the ECU I think the ECU is heating up and having problems after it gets hot once it cools down it'll run for another 15-20 minutes and then it wants to start acting up again after it warms up
If u have no acceleration it could be a number of things I would start with the fuel pressure sensor under the plastic manifold if you have a check engine light on put a scanning tool to it . However thats where I would start these trucks are notorious for those sensors going bad.