Toyota Repair: $900 and STILL Stalling, mass air flow sensor, mass air flow


Question
I have a 1989 Toyota Camry LE V6 with 96,000 miles. It is an automatic. I left it sitting for approximately 2 weeks and when I went to drive it, it wouldn't accelerate over about 15 mph, the idle was low and rough, and I had to have it towed. The mechanic couldn't replicate the acceleration problem, but replaced the battery, coolant temp sensor, spark plugs, distributor rotor, and fuel filter to treat the low, rough idle. Still, the idle was low and rough and they couldn't do any more to fix it and asked me to come pick it up.

Since then, I've been to two other mechanics, including a dealership, and had the following:

throttle body cleaned
mass air flow sensor replaced
EGR valve replaced
EGR vacuum modulator replaced,
cold start injector replaced,
and checked for vacuum leaks.

Still the car idles low at times and will stall out at hard stops. If I stop gently, the RPM's may decrease but probably won't stall. It accelerates okay, but seems to lack a little power. The idle air control valve clicks after I turn the engine off, which is apparently a sign that it is working correctly. What else should I be looking at? Ignition Coil? Fuel Pressure regulator? Alternator? ECU? I can't afford to keep throwing good money after bad to fix this... please

Answer
I think that it's time to check the engine compression on all the cylinders, doing so will give a good indication of the engines state of health, if the compression is not good replacing other parts doesn't help, if the compression tests good then I would recommend testing it for a possible headgasket problem.