if it continues running when you disconnect the airflow meter/temperature sensor, it may be your ECU, located behind the passenger kickpanel. My xe efi would stall if i disconnected the meter as the computer gets confused and floods the engine, maybe another sensor located in the engine somewhere. I say get it on gas, forget petrol, rip out the factory piping back to the throttle body and get tubing in stainless bent up so you get a pod airfilter behind the passenger headlight. Did it with my car teamed up with genie headers and a 2 1/4" exhaust and the car flew, beat a 13B RX7, with no other work to my car! I can send a diagram that will still allow the use of petrol if you want.
I think I will shut up now.
XF died, Now It's a 6-cyl Cortina!
Rear ended 3 times, 4 close calls.
All while I was stationary, still counting the idiots..