If the engine dies during a coastdown to stop or for a slow turn, or just as the emissions systems change loop operation, I would suspect CranKshaft Position sensors (CKP). If it dies during idle, I would suspect IAC and/or throttle body/position sensor.