What causes gas pain under your right shoulder blade?

Several options. If you've had a recent laparoscopic procedure, the gas utilized during that procedure can case shoulder pain for several days. Other than that, pain in that area could be caused by a thoracic radiculopathy or a trigger point, among other things. See a physician if symptoms persist or are severe.