Britney Spears will return to the CBS sitcom How I Met Your Mother to reprise the role she played in the March 24 episode,