I have a lump in my neck by my jaw line the size of a grape and it hurts could it be cancer?

Possibly. This likely is a lymph node. Cancer could be a cause as well as an infection. An ENT exam is necessary.
More likely not. Although it is more likely to be an inflammed lymph node or even a blocked salivary gland, see your doctor to be sure.