Those things are very brittle.
Mine broke the same way when I was installing a new boot.
I tried epoxy adhesive for a repair, but just joining the two ends isn't strong enough when you try and put everything back together.
You'd have to build up the repair underneath to make it strong, however there will be fitment issues.
So, I left mine off and looks like a non-S shifter.