Item pickup stations, item drop-off stations, trains that run that as a dedicated route. If your only goal is a train system that never fails it's literally that easy.
Which is why I blasted you for not communicating your design goals, because anyone who has played with trains for an hour can build that basic, robust system. You still haven't said what metrics you're trying to optimize for that requires something different.