Nonlinear evolution of resistive tearing mode instability with shear flow and viscosity