Realistic Train Mod is another mod that will allow you to control trains in GTA 5.
HOW TO USE: — F enter/exit the train (you must be at the train door to enter) — W forward — S back - J, K, L stop tap (light, medium and sharp, respectively) - Spacebar to change direction (works when speed is 0) - Num1 open/close left doors - Num3 open/close right doors - Alt+I reload INI - F5 change GUI position