The mystery man who donated half-a-million bucks to an AIDS charity and brought Alicia Keys, Lady Gaga and a ton of other celebs back to life (on Twitter) -- has been revealed ... as a BILLIONAIRE.

TMZ has learned ... pharmaceutical mogul Stewart Rahr donated roughly $500,000 earlier today to the Digital Death campaign ... which benefits the Keep a Child Alive organization.