Stokes scored the winning four on Sunday in the afternoon session on Day 4 as England finished on 362-9 in the second innings in their chase of 359.