You could go into the Input Map and add a new input. When adding the new input, add a key and then, on your keyboard, click left shift and right and that would work.
In the code, you could write code that says this:
# put the input name in quotation marks
# put code here for sprinting