Trying to read that gave me a headache.....
What is the number of the locomotive? That will help to answer the question. It might be able to use a stacker board or it might need a full strip out and rewire upgrade kit......
Was this an early PS2 or is it a PS1?