Switching between pan and orbit while holding MMB
Got to File > User Preferences > Input > 3D View > View 3D Rotate Modal and add a new key combination

Set it to Switch to Move and add any key combination you like.

I did not succeed settings it to work with the Shift key though, it seems to not like "modifier keys" on their own, but most other combinations will probably work.