As per your explanation it a dental abscess and if there is any small opening near your gums in that broken tooth area then its sinus tract/opening and its very important to get it treated as abscess affects the surrounding bone.
Next Steps
visit the nearby dentist, get your xray done and as per me , broken tooth removal will be the best choice.
Health Tips
do not neglect your oral health.