Is there any difference between switch and swap?
Switching simply means replacing something with something else, or moving from one state to another state. Here is an example: John switched off the lights; it means lights were on and John changed the state from on to off.
Swap normally happens between two people, they want to give and take something to/from each other, usually the items or the actions are identical, although this rule is not set in stone. Example: Feel free to swap out certain ingredients in recipes if you feel like it.
See the difference ? Anyway you could check out my site https://bigben.academy/how-to-correctly-use-swap-switch-change-and-exchange/ to have a better understanding.