Your problem is your EGR valve. My cousin had a 97 acura with a j22 engine in it nd the EGR just died. We changed it out, it failed the emission first then it passed when we put a new one. The EGR causes a clog and makes the car randomly stall... Have a mechanic check your EGR.
BTW is there a...