The Associated Press

NEW YORK (AP) — Taylor Swift will open the "2018 American Music Awards."

The singer made the announcement Tuesday on ABC's "Good Morning America." This is her first awards show performance in nearly three years.

Dick Clark Productions says the 28-year-old will sing "I Did Something Bad," from her "Reputation" album.

Swift will compete for artist of the year alongside Drake, Ed Sheeran, Imagine Dragons and Post Malone.

Rap is dominating this year's awards. Drake and Cardi B have eight nominations each.

Sheeran and Malone each earned six nominations, while Camila Cabello is up for five honors.

The fan-voted AMAs will air live on ABC Oct. 9 from the Microsoft Theater in Los Angeles.

More:American Music Awards plan Aretha Franklin tribute with Gladys Knight, Ledisi on Oct. 9

More:Taylor Swift steps out in a sheer dress for rare public outing with boyfriend Joe Alwyn

More:10 albums you need to hear this fall from Cher to Kanye West to Tom Petty