Idle problem

Also I smoked test it did not see nothing checked fuel pressure was at close to 40 psi .I disconnected the egr from the throttle body but still connected. But i but a plate on the thrutle. I have no ac .no smog pump connection. Maybe I have to replace the 02 sensor I have no cats all straight pipe. Underload it turn off sometimes.