The “Tik Tok” singer is back from a dark time in her life and stepped out with an electrifying AMAs performance.