Do you know what the actual error codes are?
No. When I took it to Advance Auto for reading, they didnt see any errors.
After reading your replies again I'd check the IAC valve first. Sometimes carbon clogs the passage inside and you have problems with idle. It almost sounds like that's the problem especially if it happens when the A/C is on or in long traffic jams. You can take it off the intake manifold and clean it out real good with throttle body cleaner and then reinstall it and the problem should go away.