I assume you mean the clicking happens when the motor is not running and the ignition is off. Turning the key to the on position stops it.
That sounds like an ignition safety interlock relay dropping in and out due to a bad relay or a loose connection somewhere in the coach. They can be pretty hard to find. Wish I could be more help as I am not a motorhome type.
Lou and Laura with Bella - German Short Hair Pointer
2008 GMC Sierra 2500HD Crewcab SB Allison Duramax
2010 Flagstaff 8526RLWS - Superglide 3300
HAM CALLSIGN - KC3FFW