Change F3 Control in Minecraft?
Clicking this will lead you to the Minecraft wiki that is relevant to this question.
Based on the information at hand, it seems that you cannot change the function of the F3 key. It is one of the non-configurable controls in the game.