Hi... this seems to be a rotator cuff injury ... if your range of right shoulder is equal to your left shoulder in all the aspects with pain only in movements then it won't take more than a weeks time in recovery with physiotherapy & electrotherapy.
Next Steps
please visit nearby Physiotherapy clinic and take your recovery sessions.
Health Tips
till then don't sleep on right side as this will worsen the condition gradually.