If it looks like this one, use a pin punch that'll just fit the hole, drive the roll pin almost all the way out (far enough to release the sight) and swap sights. If you're real lucky, the hole in the sight will line up with the hole in the slide.
Tap the roll pin back in and you're all set. Assuming the new sight is the right height, of course!