The announcement comes just a month after she signed a multi-album deal with Epic Records, reported Aceshowbiz.
Lopez, 46, was chatting with a fan about the upcoming "American Idol" series finale in the clip when she revealed that she was going to perform the tune live for the first time during the show's Thursday episode.
She then played a portion of the upbeat track, which includes lyrics like, "I ain't going cook all day, I ain't your mama/ I ain't going to do your laundry, I ain't your mama." The song will hit iTunes after her performance.
Lopez won't be the only star taking the "American Idol" stage this Thursday. A bunch of former contestants including Kelly Clarkson, Carrie Underwood, Jordin Sparks and Clay Aiken are set to make appearances that day.