Would muscle spasms in shoulder and upper back and shoulder cause stinging pain in neck when I try to stretch, sleep. Dr. : stress and back spasm?

Possibly. Yes it could, but so could other more serious issues like a pinched nerve in the neck. Even if it is a muscle spasm, the more important question is what is the cause for e spasms. Are you over working them or is it compensatory response to a more serious injury in the neck. Bottom line- go get checked out.