the solid lump could be an enlarged lymph node
the lymph node gets enlarged because of some underlying infection .But the pain in left arm and shoulder should not be there.
it could also be an enlarged salivary gland
or rarely a swelling arising from a nerve which can present with such pain in arm
You must consult an ENT specialist
as proper examination is required.