there is no connection of the mucus in throat and shoulder operation
you could be having a throat infection
which could be causing you to spit out mucus, or the acidity in the stomach has gone up causing you to spit out mucus.
i would suggest get reviewed by a physician to examine you,
hope have answered your query.