Hi and welcome to HCM,
Pain in the tooth after filling indicated the presence of infection in the tooth due to residual caries. Any remnants of decayed tooth or infection at the root portion of the tooth may lead to infection and spread to the underlying periodontal tissues. tooth related infection causes swelling and formation of lumps.
This can be evaluated only after clinical examination and radiographs. so i suggest you to visit a dentist
and get a x ray
done for the affected area that will show the extent of infection nad the related swelling, accordingly tooth can be explored again by removing the filling and if needed root canal treatment
is done to preserve the tooth.
pain in the toe and foot can not be related to the filling in the tooth. it can be muscular pain
which can be postural. you can take analgesics and muscle relaxants which will relieve the pain.
i hope this helps, take care.