In the Gradient Slider on the Gradient palette (Window>Gradient), you can swap colors by holding down the Option key (PC: Alt key), and dragging an existing stop (the color you want) on top of another stop (the color you want to replace).