Thanks for your query.
It might not be related to it.
a form of headache presents with your symptoms.
So visit a physician initially and also say him regarding your tooth problem.
Be free your problem will be solved after you visit a physician, since detail history is needed for this.
Hope I have answered your query.
I will be available for your follow up queries if any.
Wishing you good health.