I was purposely running the rear tank dry to see how accurate the gauge is. As the truck stumbled with the gauge all the way in the red (yay can now use all the fuel) and then switched tanks. About thirty seconds later the truck died.
Sounds like you gulped air. When one thing happens and an anomaly follows, the first place to look is at the first thing. As the man said, don't run out of fuel.
I switched from a gas 460 to a 7.3 IDI in 2005. In the early days I got air in the injection pump three times, and each time required serious effort to get it to run again. The third time I spent six hours in a rest stop until someone came along with a can of carb cleaner.
I now have a cab operated priming valve at the inlet to the injection pump. And I not afraid to spray.
The vehicle is an E350, it always had an electric supply (lift) pump. I had three tanks before the 7.3, each had a pump, and as one tank was nearing empty I would turn on the pump to another tank and run the first dry; the carb would separate out the air. I now have one pump from a primary tank and a second pump and valve to transfer fuel from the other two tanks. I can now run the other two dry without putting air in the injection pump.
And, I have a three way switch so I can power the supply pump from an oil pressure switch, the battery, or not at all. The engine starts before the oil pressure switch closes, and if I forget and leave the selector switch off the engine runs just fine, the injection pump seems to have no trouble pulling fuel from the tank.