Television / episode
24. Turnabout Intruder
Janice Lester, a lover from Kirk's past, uses alien technology to switch her consciousness into his body and vice versa, so that she can take command of the Enterprise and become a Starfleet captain as she always wanted.
Description adapted from the credited source · Content license.