Is there any difference between switch and swap?
Swap means "exchange", while switch means "change".
When you swap something, you replace something with something else:
When you switch something, you move from something to something else:
In "ordinary" usage probably not.
In technical use there are differences depending on the field