That's the toughest part, when you know you hurt but you don't know why, what very specifically is going on, what pain is causal, what is referred, what caused it, ... and what you CAN safely do to rehab it back.
Shoulders are like the celtic knots of rope, they're so involved and complicated. It may turn out that certain positions, rotations, planes, etc., are "ok" and others are not,... who knows.
But I'm with Todd here, I'd lay off totally because your shoulders are used in every upper
body exercise,...lose that, and you're sunk.
Use this time to blast your lower body, work really hard on your abs, refine your diet, maybe take a really cool aerobics class, or dance, take up a hobby you've wanted to do. Perhaps yoga (to keep flexible without compression or torque of weights?)
When you're ready, re-introduce one exercise at a time. If you do it all again and your shoulder flares up, you won't know which exercise did it, or which combo did it....