Thanks for posting your query.
From description , this lump over your shin most probably formed due to haematoma
formation which might get fibrosed or calcified.
It will take few weeks to months to get disappear.
I suggest you to consult an orthopaedician nearby for a detailed examination of swelling. You may get the X-ray of the area affected under his/her guidance.
Meanwhile give hot fomatation over it, You can take Tablet Motrin
1 tablet with food as and when required (upto 4 tablets daily).
Wishing you good health
Dr Saurbh Gupta