Star Trek: TNG -- The Neutral Zone

Season 1, episode 26 (the final episode) (wikipedia link).