Since the filling has been in your mouth for probably years it is unlikely that the acute symptoms have much if anything to do with mercury poisoning from it.
However a cracked tooth can cause an infection which can poison you. You should have that tooth fixed without mercury.
Blah