Hello madam,
Hope you are doing well. The vaccination doesn't have anything to do with teeth after 2 week's time. The reasons are of vast for a toothache.
Next Steps
Just reach the nearby dentist for treating the tooth ache.
Health Tips
Please make sure you don't continue the painkillers without a proper consultation and recommendation from dentists. The foremost important thing is to identify the cause behind the toothache.