I wouldn't weld it, if you understand the amount of torque travelling through the sway bar, it is not something you should weld, it would only be a temporary solution at best.
Welding can also induce material deformation through the heat of welding which could adversely affect the cars track and handling.
Rather be safe and replace the assembly.
BTW, exactly what model car are you driving?