I just tried the command string that you used:
F3 TU,{CLEARRIT}<<r>>{END}{CATDELAY 3}{CAT1ASC SWT11;}
and got the same result that you did- no VFO swap. If you check the manual on the CATDELAY macro, the number after the CATDELAY is multiplied by 50ms and has a maximum value used is 20, which corresponds to a 1 second delay- higher numbers will all revert to a max 1 sec delay.
I then tried the Function Key Message:
F3 TU,{CLEARRIT}<<R>>{CAT1ASC SWT11;}
and that did exactly what I think you wanted- zeroes the RIT, sends the R, and swaps VFOs. I found it works on my system every time, using N1MM+, K3Mini0, Firmware 2.85, baud rate of 38400, Microbit Com1 for radio control.