The Raiders (25-14, 8-9) added two more runs later and finished the inning with five hits, one walk and a hit-by-pitch, which extended their lead to 3-0.
Tech ran away with the game in the bottom of the sixth, plating nine runs on seven hits for a 12-0 lead.
Senior catcher Willie Durazo provided the fireworks with a bases-loaded double, his second double of the inning. Senior first baseman Bryan Smith also picked up two hits in the inning on two RBI singles.
Senior shortstop Gera Alvarez added his fourth RBI in the seventh inning on a single up the middle, which scored Jon Slack. Alvarez currently owns a 20-game hitting streak, which is the longest streak by any Big 12 player this season.
Nick Blankenship tied the Big 12 record for being hit by the most pitches in a season when Ryan Hawley plunked him for the 24th time this season in the eighth inning.
Blankenship is tied with Oklahoma State's Billy Gasparino, who set the record during the 1999 season.
Gooch (4-2) recorded the win for Tech, allowing just six hits in nine innings with seven strikeouts.
Brock Smith (1-4) took the loss for Kansas State, while giving up three earned runs in 4 2/3 innings.
Tech and Kansas State (17-13, 4-4) will play the rubber match of the three-game series at noon on Sunday.