You could have a loose throttle link; possibly your idle control is going bad. It's not going to be your alternator, it'll be in the fuel delivery system. Take it to your local parts store and ask to use their diagnostic computer. Your onboard computer will tell it if you have any bad codes...