Oh. Ok. Apparently I read the description for that Weird Science episode wrong. GARY travels back in time and into the body of /HIS/ mother, and has a pseudo affair with WYATT'S father, who is really Wyatt in his father's body.
There's a really wicked weird slash story in there somewhere....