What can I do to stop my recurring shoulder pain from pushups that goes away after stopping pushups for a few days? The pain occurs when I move my arms in a certain range.
You have a slightly torn tendon in one of your rotator cuff muscles. These four are the most commonly injured, and you have to understand which one hurts, and what exercises will re-tear the tiny tendon strands that are trying to mend. If you feel any pain, at all, stop doing what's causing it. If you continue doing pushups, it will never heal, and your base brain will lock the joint, so you can't keep injuring it. Usually, it takes therapy to get full range of motion, again.
Rest it, and exercise other muscles that don't hurt. It usually takes months to get it fully healed, mostly because we move our arms unconsciously in reaction to numerous things, and inadvertently re-injure tendons.