As far as I know (which isn't far), very generally speaking, long-haul passenger trains were unlikely to change out power at division points. Swap crews, yes. Change power, no.
Freight trains can be a bit of a different story, depending on not only the era, but the motive power in question. Again generally speaking, a steamer may be swapped out at a division point (because of greater maintenance needs), while a diesel may stay on the point with a new crew aboard.
A huge point to consider is the lay of the land ahead. Stiffer grades may require a change of engines or additional power, while a train that just finished fighting a stiff grade may have its power swapped out for something less beefy but more efficient.
Point is, if you're freelancing, you can probably build a plausible story for whatever you have the inclination (or room) to build, in this regard.
Jim