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:

house swap, wife swap

When you switch something, you move from something to something else:

Switch language, switch flight


In "ordinary" usage probably not.

In technical use there are differences depending on the field