Rhino alone won't do the job, you will need rhinoCAM to output the G-code. I'm not personally familiar with it but it is what our shop manager uses for our multicam CNC. That CNC doesn't have a 4th axis though so hopefully someone else will verify that RhinoCAM does output g-code for 4th axis work.
https://mecsoft.com/rhinocam-software/
https://mecsoft.com/rhinocam-software/