Swelling means some infection is there. It maybe due to the blackish discolouration of the tooth you are saying about. The infection may also be due to infection in gums beside the tooth.
Share picture of the area, for further diagnosis.
Next Steps
Get a dental checkup done and also an x-ray of the tooth to see what's the swelling is due to.
Health Tips
warm saline rinses every 2-3hrs and get your tooth treated.
clean the area after every meal