sr20ve and problems that can cause sudden turn off
so i got all my codes off except for one which is the rear 02 sensor but thats not causing my problem. the other day i pulled up to a gas station and all of sudden my rpm guage was liking tripping out and then my car just turned off. so i waited then i turned it back on an drove up the street same problem. so after i got all my stuff fixed had a code for knock sensor got a new one then no more code k cool, had a code for egr valve got a resistor and gone k cool, didnt do it all day today except for once while i had it at the shop, drove home no problems hasnt done it since, check my groundings everything looked good, any ideas thoughts, maybe a short somewhere ignition switch i have no idea, thanks