I've checked for vacum leaks but have found none. I was about ready to change the EGR Valve when I discovered something really weird and maybe the problem.
While sitting in the car while it was idiling really rough and trying to figure out the stalling problem, I kept hearing a "clicking" noise. When I looked around I found that it was the A/C switch and the light would go from bright to almost off, along with the "clicking" noise and along with the RPM's dropping and then going back.
I decided to turn the A/C off. The idiling was perfect. I then took it for a drive. Whenever I had the A/C on, it would stall when I got to a stop sign. When I had the A/C off it was fine, no stalling.
Does the A/C work off a vacum and if not, what is causing this weird problem? I really need someone's help.

[IMG]images/icons/gen1.gif[/IMG]