This happened to me twice same engine once it was the Ecm which you can disconnect and reconnect and sometimes it will work. If not have to get new Ecm sensor the second time it happened to me was due to old gas in the fuel system check engine light came on. I stopped the RV read manual which said it was emissions that I still could drive unless check engine light started blinking if that happened I was to stop and shut off motor. I drove to nearest gas station refilled with new gas and a couple of bottles of Seafoam and that cured the problem for me. Good Luck