I had this exact same thing a few monthes ago.
I couldn't close my teeth all the way down to touching each other.
It hurt my ear when I yawned.
It hurt to chew anything chewy, and it just felt like I couldn't chew my food properly. It felt dislocated. weird
Went to the doctor, nothing wrong with my ear.
Went to the dentist, first he ground down a high tooth. Then he pulled my jaw around, and he said I pulled a ligament in my jaw.
He said-No gum or taffy or anything chewy for 3 monthes (I used to have a pack of gum a day habit--now it is certs and tic-tacs!!)
Take Advil or Motrin (anti-immflamatory)
Wait.
Mine went away after about a week.
It is not fun though. The pain that shot up to my ear was soooo painful. I feel your pain!!