Doorbell Transformer
That is definitely what you're looking for. To be safe,trace the wires as far as you can to make sure they're not connected to anything else too. That's a strange location for one, mounted on a box to a furnace. Determine if the switch controls the transformer, that would be strange too. Make sure it's not feeding your thermostat.