stripped trailer jack gears

I think many of those bevel gears may be powder metal with some copper infiltrated so they probably not weld to well.
A search shows gear sets for Fulton and others. Measure what you have. Maybe someone copied the design and a competitors kit will work.

trailer jack gear replacement - Bing images