I do not have a vice. I make sure I am giving the bottom of the gear as much support as I can to not bugger up the rest. I dont have a punch but I did try the flat end of a drill bit with part of the prior motor piece as a backing to the gear.
What I tried today was what is shown. I used a slot in the wire strippers bigger then the shaft so it floats freely. I am getting decent leverage on it. It is straightning out the shaft and pulling it through the pliers! I did heat the gear up too with no luck so far.
I was thinking of cutting the shaft off at the gear and pounding in the one from the replacement motor. I will eliminate my leverage options if I do that and it fails so that will be a last resort.