Why not just install a Progressive transfer switch.
RV /
Automatic Transfer Switches /
PD52DCSD 240 VAC 50-Amp Automatic Surge Protected Transfer Switch – “The Silent ATS”
I would not install a surge protector differently than the manufacturer specifies as there is a difference related to the ground requirements for a generator and shore power.