Gary thanks for asking a great question. Vernon, as usual a clever solution.
I agree with Adrian’s and John’s advice about installing TVS at/on the locomotive’s board where track power connects to it.
Additionally, on a layout without DCS, I am of the opinion that installing TVS diodes across transformer outputs, relay coils and other electromagnetic coils (uncouplers) connected to track power will help more quickly attenuate the oscillating spikes generated by derailments as they bounce around the conductors on the layout.
In my experience, the control boards in FasTrack Switches, if fed by Track power instead of Aux power, seem to be vulnerable to voltage spike damage from derailments.