Stanford trailed Indiana University 4-3 in the ninth inning before Tommy Edman's two-run walk off home run.(AP IMAGES)

Programming note: For all the day’s sports news, tune in to SportsNet Central tonight and every night at 6, 10:30 p.m. and midnight on Comcast SportsNet Bay Area

BLOOMINGTON, Ind. -- Tommy Edman hit a two-run homer in the bottom of the ninth to lift Stanford to a 5-4 win against Indiana in the championship game of the NCAA's Bloomington Regional.

Stanford (34-24) play at Vanderbilt in the Super Regional.

Wayne Taylor started the ninth with a single through the middle and moved to second on Brett Michael Doran's bunt before Edman's blast.

Indiana's Nick Ramos broke a 3-3 tie with an infield single in the top of the eighth. Craig Dedelow had three hits, including an RBI single for the Hoosiers (44-15). Kyle Schwarber hit a two-run homer in the third.

Stanford answered with run-scoring singles by Alex Blandino and Zach Hoffpauir in the bottom of the third. Dominic Jose tied the game with a solo homer in the sixth.