A stochastic approach to generalized quantum dynamics with collective long-range forces