Need help installing distributor gear

You don't change the distributor gear, you change the distributor drive gear that the distributors slot engages, it's ran off the cam to time the distibutor and drive the oil pump. So get a long flat head screwdriver insert in slot and turn it so that it backs it's way up if it keeps falling then long needle nose pliers to get it out.
Why are you changing this?