You may have gas line leak when you push the accelerater down does gas leak out under the car
Your fuel pump may be bad also or you may have low fuel presure and finally pop the hood have somebody look at the throttle body and push the gas pedal if it doesn't move your throtitle body may be broken or the cord that pulls the throttle body open may have snapped
I found out what it was. It was an exhaust back pressure sensor
Looking for a Used F-250 Super Duty in your area?
CarGurus has 46,236 nationwide F-250 Super Duty listings starting at $599.
Search Ford F-250 Super Duty Questions
Ford F-250 Super Duty Experts