Add to global snippets. (command palette > configure user snippets)
Select the text you want, write QuoteSwap and enter/tab to apply.
"QuoteSwap": {
"prefix": "QuoteSwap",
"body": "${TM_SELECTED_TEXT/(')|(\")/${1:+\"}${2:+'}/g}",
"description": "Swap single and double quotes."
}