Some common synonyms of afflict are rack, torment, torture, and try. While all these words mean "to inflict on a person something that is hard to bear," afflict is a general term and applies to the causing of pain or suffering or of acute annoyance, embarrassment, or any distress. Where would rack be a reasonable alternative to afflict? More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.