Switch third person character animation based on button pressed UE4

No can do its a really lengthy process and you can do it on your own, here I found the UE4 official tutorial for this he starts talking about animation in episode 8 and working on them in 10 but I suggest to watch all of it from the beginning, good luck.
Tutorial