Following a spectacular flameout of a performance moments before the ball dropped in Times Square last year, Mariah Carey is giving New Year’s Eve another chance.

The superstar singer, one of the best-selling recording artists of all time, will once again headline ABC’s “Dick Clark’s New Year’s Rockin’ Eve with Ryan Seacrest” on Sunday, Dec. 31, the network and Dick Clark Productions, announced on Friday.

The do-over, which may have seemed like a long shot given last year’s fiasco and the finger-pointing that followed, is also a way to cash in on the attention whipped up by the controversy. It is the television business, after all, where ratings are queen. And who doesn’t love a redemption story?

Ms. Carey, 47, was the final pre-midnight performer on the show as 2017 approached, but she bungled notes and lyrics as she appeared to struggle with her prerecorded backing track. Though she sort of salvaged a rendition of the 1991 hit “Emotions” by relying on the crowd to sing, her difficulties continued on the song “We Belong Together,” and she essentially gave up, allowing the recorded version to play. “I’m trying to be a good sport here,” she said at one point.