This sounds like a programming fault. The transmission (putting it in gear) and the fuel system have no electrical or mechanical connection with one another. Have you put a live scanner on it, or run it with Forscan?
If you figure it out, please come back and tell us.
A forum community dedicated to all Ford Diesel owners and enthusiasts. Come join the discussion about PowerStrokes, performance, modifications, troubleshooting, towing capacity, maintenance, and more!