Stochastic dynamics of a sheared granular medium