1997 Subaru Impreza Outback Wagon, will start up and idle just fine, run fine, after 5-10 min., will start to idle slow and fast, eventually dying, if giving gas, sounds like it is being starved or not running smooth and then die, the exhaust also seems to smell a little different when it does this (only when running strange). Can't say that the exhaust smells liek fuel, but maybe. If I shut off and let cool down, will start up and run fine again for a while. If driving, can only go about 5 miles from cold start, then it dies, try to restart a couple times, then runs fine for a few more mile before repeating. Mechanic check fuel pressure and was fine. Check engine lite codes for knock sensor, but multiple mechanics have said this will not affect much. Code is cleared and comes back to same code. Stuck in very remote location, possible oxygen sensor, ignitions module, maybe? Any help greatly appreciated.