Hello and thank you for your question.
Based on what you described it could possibly be signs of TMJ disorder
. The jaw joint has a small disk inside that allows your jaw to slide freely open. When you yawn, you could be hyperextending this joint and causing a pull and pressure on the tendons resulting in pain. Ringing in the ear is called tinnitus
and does affect people with TMD. The ringing can be caused by inflammation of the joint that then applies pressure to the inner workings of the ear. I would also recommend that you get checked by an ENT doctor to rule out the possibilities of inner ear
disorders. I would recommend applying warm moist heat to your jaw joints 3 times a day for 1 hour, 20 minutes on with 10 minute breaks in between and try taking NSAIDs to reduce swelling. Yawn with your tongue stuck to the roof of your mouth to prevent it from opening too large. I recommend having a nightguard made by your dentist
if you have a history of bruxism
(nocternal teeth grinding).
Best wishes and good health