My key switch was doing this a while back. Had to replace it. If I let the key go back from start by itself the engine would turn off ( but it was running). If I held the key and gently let it go back to run position the engine would continue to run.Sounds like the stop solenoid is stopping fuel before the key turns off to shut it down.