340 idles at 1500 won't stay running in gear

Have you checked the electric choke to be sure it is opening?