Believe me I'm not pointing solely at the Captain here, its a mess from the beginning. I'm particularly disappointed that a function check and duplicate inspection wasn't performed by maintenance after disturbing the switch. Would it be unusual for a Captain to deligate the FO to fly the sector due to the fault on his trim switch?