I have a 1997 F350 7.3L diesel. Recently I started having problems with it staying running. It always starts, but will die after a couple of minutes. First I replaced both batteries as they were needing replaced anyway. I took it down the highway and it kept surging and acting like it wanted to quit running. It always starts right back up, but it won't stay running. I just replaced the camshaft position sensor and that didn't fix the problem either. Any suggestions before I give in and take it to a mechanic?
1994.5 - 1997 7.3L Power Stroke Diesel - Ford Truck Enthusiasts Forums Here is a link to the page for your engine, probably better to ask the guys there.
However it sounds like a fuel delivery problem, maybe clogged filter, maybe bad fuel lift pump, maybe bad fuel pipe connection letting air into the fuel system. The guys on that other page will know.