I have TMJ I believe. I always bring it up to my dentist and my neurologist but no one seems to take it very seriously. Mine got so bad that my jaw hurt for days without any relief. It still hurts when I
open my mouth wide. It does sound like what you deal with could be TMJ but it could probably be something else as well. It's probably a good idea to see an oral surgeon and get xrays to see whether something is going on. I went to one and it ended up being a waste of time. He said I had arthritic changes of the bone and that I should take fish oil. Unfortunately, the fish oil gave me GI issues and I had to stop taking it. Hopefully you have more luck diagnosing/treating yours. Did you try taking an NSAID for the pain?
The oral surgeon said opening and closing the mouth while putting some pressure on the jaw with a warm compress can be helpful.