Railroads that no longer exist (and have been built upon with no railway hardware remaining (rails, signals, electrification, etc.)) should not be mapped on OSM.  OpenHistoricalMaps should be used instead.

OSM is only for what currently exists, and as time goes on, things will change.  But OSM should match the real world and not what it might have once been.