If this is a Power Stroke engine, the most likely cause is a faulty crankshaft position sensor.
how does it stall if it wont start?
1989 ford F250 Fuel Problems, It cranks but wont start
You are missing fuel or spark.
rpm went to zero cranks but wont start
Sounds like you have a dead battery.
possibly the glow plug comand is bad.
if i sccidently shorted the battery car wont start but cranks whats wrong ??
chances are to start with the fuel filter if that's not it try the fuel pump
the first thing I would check is, fuel, spark, coil, ignition module
Can be many things. Lack of fuel, or other electrical problem.
engine cranks but wont start means one of these things.. Air, Fuel, Spark, or compression
Valve timing off, timing chain jump.