When you're walking not sprinting, by tapping shift/ sneaking very fast like spamming the button, by doing that you can finally sprint. Give it a few tries.
Environment
Windows 7 pro, Minecraft 1.14.4-Optifine_HD_U_F4/vanilla, processor: core i3 3,3 GHz, intergraded graphics.
Duplicate of MC-149704