Given the comments above, I would suggest something like:
There is an important class I would like to attend. However, the class meets on Fridays, which is during my scheduled work time. If you would be willing and available to work my shifts on Fridays for me, I would be willing to work your shifts on Tuesdays. This would mean a lot to me if we could swap our working days.
You also might want to mention how many weeks the class goes for, to give the person an idea of the duration of the swapped schedules.