Have you ever checked your Coolant Temp Sensor or it's connector?
You can't connect direct power to the AAC solenoid as the ECU constantly modulates it to control the idle under different conditions. Even when the AAC is completely dead, the car usually idles low and a little unstable but it doesn't stall. You can simply turn the base idle screw to raise the idle a bit until you fix the AAC issue, not that it will idle perfectly, but I think your issue is something else.
I would:
Test the PTUTest for good spark at all 6 plugsTest the MAFDo a compression testTest all the injectors with a multimeterMake sure all connectors are free of corrosion (CAS, PTU, Injectors, MAF, CTS, TPS, AAC, Air Regulator)Do an intake leak test to make sure there are no vacuum leaksTest fuel pressure
Confirming all sensors and components are in spec and operating etc usually leads to finding the issue and it doesn't take that long.
If all the components test out properly, then you can move on and test the harness from the ECU plug to the component plug for continuity rather than randomly changing the harness until it's known to be bad. The shotgun approach isn't usually successful, just expensive and frustrating.
All of the component measurement specs are in the manual EF&EC section starting about P 178 and P42 is a troubleshooting guide for problem characteristics that might be helpful
http://www.300zx-twinturbo.com/cgi-bin/manual.cgi
Modified by Zwicked at 10:23 AM 7/21/2009