This lump can be something harmless like sebaceous cyst, or benign scalp tumor (2% of all skin tumors appear at the scalp), but, very rarely it could be something more serious.
I don't think it is related with your head injury since the bump has occurred years after the accident.
The true answer can be given when examined with MRI.
There are chances the headache you have is due to a lump, but it is more likely to be side effect of the head injury 4 years ago.
Read about post concussion syndrome, that may follow after a mild head injury (concussion) and it's main symptom is long lasting headache that may appear days, months or even years after the head injury.
Best wishes!
Marija