This is for the first time Railways entered the knockout stage after the introduction of new Ranji format two years ago.
It was off-spinner Shreyas Khanolkar who took the advantage of a turning wicket to claim five wickets conceding only 21 runs and played an important role to bundle out the hosts in their second essay.
Baroda were set a target of 240 runs for victory soon after Railways were all out for a paltry 103 runs in their second innings this morning after resuming at their overnight total of 84 for eight.
In reply, Baroda openers Rishikesh Parab and Satyajit Parab started batting sensibly before the former was trapped leg before by Harvinder Singh when the team's total was just 25 runs.
Connor Williams then joined Satyajit and together they added 31 runs for the second wicket before Satyajit was trapped leg-before by off-spinner Kulamani Parida.
Between lunch and tea, Baroda lost six more wickets, putting Railways in a commanding position. They lost the remaining two wickets soon after tea.
With this win Railways secured four points. Baroda, who finished with four points from seven matches, managed to retain their position in the Elite A group.