Thanks for asking the query,
Lump at the roof of the mouth can be a minor salivary gland
swelling, minor salivary gland at the palatal area may get blocked and swelled.
It can be due to vitamin B12 deficiency
, tobacco use, smoking, cold sore or canker sore
Moreover the lesion can be injury from food products, cracked tooth , non cancerous growth.
Pain in ear and neck is of dental origin (radiating pain
I would suggest you to visit to Oral Surgeon and get a checkup done, take an OPG radiograph to confirm the cause and plan appropriate treatment.
Hope this helps out.