Rockbox doesn't allow custom button assignments unless you're willing to modify the source and make your own build with the changes you want.
However, for your particular case have you looked at the quickscreen? On most targets this should allow you to switch shuffle on/off with two button presses.