Hello and welcome to eHealth Forum!
Sudden shooting pain lasting 3-5 seconds between shoulder and elbow can be due to pinched nerves. The nerves can be pinched at the cervical spine level or at the level of the shoulder.
You would need to get a MRI of the cervical spine done for this. Consult a neurologist regarding this. At times nerve conduction studies are done. Hope this helps. Take care!