Another fanfic called In His Shoes, this one from the Rurouni Kenshin fandom, has Genius Bruiser Hiko and BishōnenFragile Speedster Kenshin swapping bodies during a sparring match and trying to avoid detection. Aoshi almost figures out what happened, detecting the switch but not realizing it wasn't an advanced training technique.
The infamous Body Swap Day at Absit Omen saw a fair chunk of Hogwarts' population randomly swapping bodies thanks to a breakfast-time prank. It wore off by dinner, leaving enough time for a few relationship revelations and a canceled Quidditch match.
At least a dozen different stories have involved body-swapping, usually as the result of a potions mishap or screwed-up spell. Popular choices include Harry/Draco Malfoy and Harry/Snape.
The Infinite Loops will sometimes shuffle Loopers around to different positions when they reboot.
Several of them occur over the course of Diaries Of A Madman. So far they've been used for revenge, a competition to see who can act the most like the other, or have been caused by Twilight messing up a spell.
A Walk In Your Shoes has Lily and James experience this in their seventh year at Hogwarts with a twist of the understanding of the other being a prerequisite of changing back to thier original bodies.