Ahh, the transfer RELAY, aka Transfer switch is a 120 Vac coil. There would be no caps or diodes involved.
At least in older RV like a '96. It's just a relay that's wired with the coil powered ONLY when the genset runs. When the genset reaches full power after start, it applies 120 Vac and that closes it so it's contacts supply the RV. These are the Dumb ATS boxes. The smart boxes are basically the same only they sense when the AC is passing through zero before they switch. It looks the same for a 50 amp system only there are 3 poles. Note that since there is a 'coil' in the ATS, along with contacts, that buzzing can be caused by the coil itself, and/or dirty contacts if someone was not very careful and started the genset with the AC on too often.