Welcome to icliniq.com.
You have mentioned that you regained sensation, which means the nerve was anesthetized properly and has reverted too. The numbness, pain, and swelling in your cheek might be due to accidental injection into the cheek muscles.
I want you to check yourself if you can open and close your mouth normally as before. If not, then it is a muscle twitch, for which you have to do mouth exercises to come back to normal.
But the other possibility for your pain might be the tooth itself, as local anesthesia is not given for a normal filling. Maybe the tooth itself is filled deep without pulp protection.
Please attach an x-ray of the tooth which you got filled.I will be able to give you an elaborate answer and treatment once you revert with the additional information.
The history of lingual and mandibular nerve damage is not relevant for this scenario because it is in the lower jaw.
Revert with more information to a dentist online --> https://www.icliniq.com/ask-a-doctor-online/dentist