!990 Jeep Cherokee will not start

It was starting up and running fine until I let it sit for a month,it ran out of gas while running in my garage.I put 3 gallons in.Each time I turned the ignition it started for 2 seconds each time.Fuel pump and fuel relay is fine.New crank sensor.??? Help

You might try to keep it running for a little while by spraying short bursts of starter fluid into the intake to purge the fuel line. If it still has trouble then the fuel pump may need to be replaced. Replace the filter first.

Running out of gas with an in-tank fuel pump can damage the fuel pump. How do you know the fuel pump is okay? Have you’ve performed a fuel pressure test?

Tester

Do you have 40+psi of fuel pressure?

Each time I turned the ignition it started for 2 seconds each time Just for the record, do you mean it started and idled or ran normally for two seconds or do you mean the starter functioned for two seconds each time?