Will not stay running
If it does not stay running, but it does start, then it is a fuel issue. First thing to do would be to change out the fuel filter, then check the fuel pressure. May be running low.
It's runs but doesn't stay running changed fuel pump n tps still nothing
If the check engine light is on, have the vehicle scanned for any trouble codes. You can have that done at a auto parts store. Write down any trouble codes. Also look for vacuum leaks, snug up the intake manifold bolts, and clean the Mass Air Flow Sensor with MAF cleaner, and change the air filter out. The other thing to check would be the Air Idle Control Valve, you say the engine runs but then will die off, this also would affect that symptom. It would be important to clean out the port it sits over also. You could try and clean this valve but chances are it should be replaced.
Thank you will try all of that n will respond with what happens again thank you
Hope it takes care of your problem.
Looking for a Used F-250 Super Duty in your area?
CarGurus has 799 nationwide F-250 Super Duty listings starting at $6,000.
Search Ford F-250 Super Duty Questions
Ford F-250 Super Duty Experts