Did whoever fixed your brakes figure out why the cable broke? If it was at the brake arm, did they check for a rough edge where the bolt clamps onto the cable?

If that is okay, I suspect a lower quality cable and probably the replacement is better.