Find the word definition

Wiktionary
bodyswap

n. (context fiction English) The act or event of two people or other thinking creatures exchanging minds (by magic, technology, or other means), so that each one ends up in the physical body of the other.

Wikipedia
Bodyswap

"Bodyswap" is the fourth episode of science fiction sitcom Red Dwarf Series III, and the sixteenth overall. It premiered on the British television channel BBC2 on 5 December 1989. Written by Rob Grant and Doug Naylor, and directed by Ed Bye. This was the first episode to be recorded without a live studio audience. The plot has Rimmer suggesting that the perfect way to help Lister get "healthy" is swapping bodies. The episode was re-mastered, along with the rest of the first three series, in 1998.