I have 02 Nissan Frontier 2.4L automatic. The truck starts fine around 1100 rpm, needle steady, About a minute or so as the idle drops to 750-800 rpm, starts to surge and then engine dies. I can start over and over, from cold to hot engine and doing the same thing. Here are the codes that I scanned, P0400, P0102, P0132, P0505. I replaced the EGR valve and solenoid, MAF sensor, IAC valve, exhaust manifold oxygen sensor. Spark plugs are year old and cleaned, replaced plug wires ( year old wire broke and brittle). rotor and cap year old. I have not replaced the 2nd oxygen sensor (downstream) frozen, will not come out. Any idea or suggestion?