There is an "idle up" circuit/solenoid that goes on when: 1)You're at altitude, 2) Accessories are turned on, 3)Heater on, 4) Lights on. It could be malfunctioning and kicking on and off. I normally back it all the way off so it doesn't effect my system anymore. Look at the back of the carburator for a large flat nut with a vacuum plunger facing it. Back that nut off to adjust.
There are two idle adjustments besides the idle up circuit. Look at our FAQ located in the beginner / repairs sub-forum for more information.
-Eric