Spoonerism

\SPOO-nuh-riz-uhm\, noun:

The accidental transposition of syllables or sounds in a word or phrase.