next thing id check is the ECM ground by the thermostat housing and check all the ECM connectors at the components to make sure the connectors are good and the sensors look ok where the connectors plug in - IAC, TPS MAP, ICM, O2 sensor, EGR solenoid, coil, CTS.
might also check your battery...