Since you may not get many replies from people who have actually had surgery, i'll throw in my 2 cents as someone who had rotator cuff problems but not surgery. I post this because some of the factors will be similar.
Basically once you recover from rotator problems, you have to figure out exactly what factors caused it, and avoid them no matter what. If in your case if was a combo of certain exercises as well as the strains of the type of work you do to use 2 examples, you have to decide if you have to change the exercises you use to avoid trauma, and whether you can still work in the same field without having a similar problem repeat itself down the road.
If the variables that caused the initial injury are likely to cause a recurrance, you have to first try to modify them and if that's not sufficient, remove them. In the case of exercises, you may find that better warmups or different ROMS will be enough, and if not, the use of different exercises. In the case of the job, ask yourself whether you can reasonably avoid a repeat of the stresses that caused it; if not it's time to find a different line of work.