There is no automated way that this will work without pitfalls, But really the heart of swing is the 1/8 or 1/16th notes are quantizied to TRIPLET timing.
There's no way to take a midi file that has been quantizied to a 1/16th or 1/8 note and move just those few notes that would now need to be on the triplet grid. Once a song has been quantized it is to late to go back:
Here is the triplet grid with a blues song note that the snare roll shows as triplet groups. And the hi hat is also "shuffling"
Her's the same song viewing the 1/16th grid with out triplets,, note the hi hat is not on the grid now. If this hi hat had been qualtized to this grid the notes would fall in a different place and not be triplets..
Here is a song that is quantized to regular 1/16th there nothing you can do other than go in there and manually move the notes, If you re-quantize to a triplet nothing will move.
So I'm afraid the answer is you'll have to re do all the parts and use a triplet quantizing on everything, Drums, Bass keyboards.
There's no magic button if you want it done right.
I have a version of Stairway done in 2/4 time as a Polka. It's works surprisingly well as a Polka!