Looks to me like it might have been home made by the original installers. Are you sure it's faulty if you don't know its function? I'd suggest you should figure out what it does first the open it up and make a note the switch contact block arrangement and just replace the contact block or barrel and contacts if necessary.