You seem to be suffering from temporo Mandibular joint dysfunction secondary to dental problems. Usually it will resolve with simple measures such as soft diet, warm compresses. Over the counter analgesics for symptomatic pain relief may be required
Next Steps
Consult nearby ENT specialist for confirmation of diagnosis and appropriate treatment if required