Re: TMJ or not quite?
You may want to have an endodontist examine the wisdom tooth in question; if the cavity was deep it could be you have a slight infection in the root or the nerve was damaged when the tooth was prepped for the filling and need a root canal. He/she should also check to make sure there is no hairline fracture of the tooth, a common occurrence in back molars.
If the tooth checks out ok, since the pain seems to respond to Ibuprofen which suggests inflammation, ask your regular dentist to check to see if the filling was either left too low or too high; if he feels its fine the way it is, you could buy an OTC night guard that you can wear at night - if this helps, then the problem lies within the occlusion of this tooth with the one above that it meets, it could be the filling needs to be adjusted to provide a better "bite".
If this was just an aggravated nerve or disc by now it should have been able to recover and resolve itself - the persistent and recurring pain suggests something is going on, if not addressed at some point it will progress, unfortunately sometimes that is the only way for a dr to then accurately diagnose the problem.