I think you may be referring to "Extreme Risk", where Paris builds the Flyer.
"Drive" is the episode where Paris' ongoing midlife crisis prompts him to convince Janeway that allowing him to enter the Flyer in a politically charged race between former enemy states is a good idea.