Starts up cold... runs then after gets warm it jerks down the street an shuts off,will start up again only if you turn the key on off repeatly with a pedal

Idle OK,but when you accelerate it...