Tamar Braxton made a miracle recovery -- after rushing to the ER to treat her pneumonia ... she made it to the "Dancing with the Stars" set just in time to perform live.
TMZ broke the story ... Tamar went to the hospital on Monday night, just hours before the show, after fighting off illness for 2 weeks. It was touch and go whether she'd make it back to studio for the show.
Well, she ended up making it -- complete with full dramatic entrance, and heroic performance. Actually, the "Hey Jude" dance was kinda cool. As ballroom dancing goes.