when i turn off my car it keeps sputtering

A tach ,recommended.If you have a vacuum gauge,find peak vacuum.:in drive. Back the idle speed ,to where you need.