What Is This Relay For?

well, that's the problem. It was unhooked. The black wire has gotten awful hot & started melting. Not sure if it is the correct one