You can't just swap the switch. After the swap you have to do a relearn. You will need a Tech 2 or similer controller.
Clutch Pedal Position Sensor Learn
Important: The clutch pedal position (CPP) sensor learn procedure is required when the following service procedures have been performed regardless of whether DTC P080A is set:
• An engine control module (ECM) replacement
• A CPP sensor replacement
• Any repairs which affect the CPP sensor relationship
Install a scan tool.
Monitor the ECM for DTCs with a scan tool. If other DTCs are set, except DTC P080A, refer to Diagnostic Trouble Code (DTC) List - Vehicle for the applicable DTC that set.
With a scan tool, select Clutch Pedal Position Learn under Module Setup in Manual Transmission, and perform the following instructions displayed on the scan tool screen.
Important: The CPP sensor learn procedure cannot be performed more than once per ignition cycle. The clutch pedal needs to be fully depressed and held steady throughout this procedure in order to perform a correct learning.
The scan tool will display under CPP Learn Status: Not Learned, In Process, Complete, Fail - Low Volt, Fail - High Volt, or Fail Moving. The scan tool will display under CPP Learn Status Complete if the process was successful.
If the scan tool indicates that DTC P080A ran and passed this ignition the CPP sensor learn procedure is complete. If the scan tool indicates DTC P080A failed or did not run this ignition, refer to DTC P080A. If any other DTC is set, refer to Diagnostic Trouble Code (DTC) List - Vehicle for the applicable DTC.
Turn OFF the ignition for 30 seconds after the learn procedure has successfully completed in order to store the CPP sensor variation values in ECM history.
But here is the installation procedure.