Activate sticky keys

Hello is there a way I could assign a keyboard button or combination to send 5 shift key presses?

I am having problems with my keyboard (hardware) where my Mac thinks the option key is stuck down randomly. Activating (5x shift) and deactivating (x shift) sticky keys fixes my problem.