Early 1890's based on what I could find at the Levy sheet music site. It appears to be contested as to who wrote it, though two of their items attribute the music to Angelo Asher, several don't list any lyricist, and about the same time they have several "I am the man who wrote ta ra ra boom dee ay"