Thanks for your query, I have gone through your query.
The pain in the jaw, tooth and ear can be because of two reasons.
The first reason can be a 
tooth infection, since you are telling about a fractured filling, this might cause 
radiating pain to the jaw and ear.
The other possible cause can be disc displacement in the temporomandibular joint (
TMJ disorder). This can cause pain in the jaws and the ear.
The last possibility is , there can be both TMJ disorder and tooth infection.
Consult a oral physician and get it evaluated, you neeed to take radiographs like OPG and TMJ views. 
If it is tooth infection, get the tooth treated with RCT with a course of antibiotics like amoxicillin 500mg and 
metronidazole 400mg tid for 5 days (if you are not allergic).
If it is TMJ disorder, You can take anti inflammatory drugs like piroxicam 20mg twice daily on first day and twice daily on next 6 days. You can also take muscle relaxants like 
chlorzoxazone. You can give hot fomentation over the joints. Do not eat hard things, do not open your mouth too wide. take soft diet.
I hope my answer will help you, take care.