It's a switch. I broke the connector off of mine and had a hell of a time trying to find the correct part. Easy to swap, you'll lose a little coolant but it's not much if you work fast. Got mine on ebay. Here's the part number
Engine Cooling Fan Switch Right ACDelco GM Original Equipment 15-4457