Help? Item that switches party members

So I have a problem.
I'm trying to create an item in my game that, when used in battle, opens the menu that usually opens when you select the Formation option from the menu. It would allow you to swap the position of 2 party members. The problem is I have no experience coding in VX Ace. So far I have an item that calls a Common Event and in that common event is where I plan to put the script that allows for this party member switch to happen.

Any ideas/code I could use?

Original thread: https://forums.rpgmakerweb.com/threads/help-item-that-switches-party-members.134275/