Try to run a file in the bore of the gear to see if it is possible to machine it, i think your best option for the pin would be to remake from silver steel, harden/ temper and polish the shaft.
Mike