I’ve determined that the combined wattage of the halogen recessed lights connected to the switch is greater than that of the switch itself. Therefore causing it to work too hard and ultimately get hot. Solution will be to either switch to lower wattage bulbs or replace the switch with one that has a higher wattage capacity.