Turn it down on a lathe? Careful use of pliers or screwdrivers? Make a puller? Grip the gear in a vice and gently hammer the shaft out with a small punch? Cut the gear off with a hacksaw-or cut the shaft off? What parts do you need intact? What do you have available?