Is it slowly dying like it's a fuel issue? Or it's like you turned the key off? That'll tell you a lot on if it's a sensor or fuel issue