@ValinorKings Moved your post to leather sewing machines.
This is a case where it helps to take photos or make notes as you are disassembling the wiring, etc. Then you can simply follow your notes/photo to reassemble.
This is a double pole single throw switch (DPST). It breaks or closes both the supply and neutral lines at the same time. Can't see the switch rocker as there is no photo to compare the orientation of the rocker compared to the orientation of the terminal tabs. So that makes it difficult to accurately describe what to do! This switch looks like yours. (If the tabs are inline with the rocker, the diagram is still accurate for the connections.)
Start with the cable that comes from the plug. One wire is hot (red), the other is neutral (blue). (The green safety ground wire is attached to the housing somewhere and you can ignore it as it isn't switched.) So follow the diagram. Input is from your plug cable.
Hope this helps.