Shoulders are such a common cause of angst, due to the unstable nature of the joint.
Work on your rotator cuff endurance as a matter of priority. There are plenty of threads about this, or even google rotator cuff strengthening exercises. You may have an endurance problem which results in a change of the rotation moment in the joint, placing adverse strain on other muscles and structures.
Try substituting lateral raise for cable lateral raise, lower the weight and watch your form. At the end of range of abduction (the raising part) pull your shoulder back horizontally and squeeze the rear delts, making sure the hand does not rise higher than your elbow.
Another exercise I personally do is lateral raise on the incline bench. Set the bench about 60-70 degrees incline, (this will vary so make sure you can see your middle delt being hit during the exercise), kneel on the seat pad and place your chest against the back rest. Lower the weight of your dumbbells and do your lat raises this way, making sure you keep your chest against the back rest at all times. Biomechanically, this hits the middle delt more and helps prevent external rotation of the shoulder - the biggest cheat move, and stops you using momentum to get the weights up there!
Keen to hear your feedback.
BD
Winners make it happen...losers let it happen.
Qui audet adipiscitur.