Inspired by the recent question here, I wonder if it could be the 1988 miniseries "Something is Out There"--the female officer is an alien rather than a time traveler, but she looks human so you might have misremembered, and according to the summary here her species procreated with their hands so an attempt at a handshake was a faux pas:
A unique feature of Ta'ra's race were her hands. On her planet, hands
were the focus of sexual activity, so when Jack attempted to shake her
hand, it was an encounter of the no-no kind.
First episode is on youtube here (you can find others in the related videos section), see if you recognize it: