That is a F type expansion valve. The expansion valve removes pressure from the liquid refrigerant to allow expansion or change of state. So it has to be there.
Your switch, is there power to the switch? check fuse and wires. If yes and when you select fan speed and fan doent run it is the...