Secondly, swollen lymph nodes can be due to mastitis. Mastitis, which is a breast inflammation, can be caused by an infection during breastfeeding. Symptoms include red and swollen breast on one or both sides and enlarged and painful lymph nodes in the armpit on the affected side.