Hard to determine from your photos, but if you have enough shank distance behind your broken ball joint, you might be able to, just cut the ball off, leaving the shank still welded in. Then, you might be able to male thread it for a female heim joint.
Then just unbolt your mating plate on the axle, and put through a new bolt.
Easiest solution but your shank length and diameter measurements would need to be checked first.(and a die for threading )
Otherwise cut the entire ball joint off flush, and drill/ female tap the cylinder mount plate for a new ball or heim joint.
Or weld one back on, depending on your welding skills