There is a fan arrangement available on MuseScore, transcribed by ear by a user called ChromelxD.
Search the site for "Team Fortress 2 - Playing With Danger" and it should come up. Because it was arranged by ear rather than from official sheet music, expect it to be an interpretation of the track rather than a note-for-note transcription.
MuseScore is generally the right place to look for this kind of material. Game music has a large amateur transcription community there, so if that particular arrangement is no longer available, related TF2 themes are often uploaded by other users under similar titles.