Agree, check timing . Also possible: I had a carb / intake gasket that was crap once that allowed enough of a vacuum leak to cause the engine to die when put into gear but it would idle fine. If I gave it enough gas( pump shot) it would go but was sluggish.