Quantum dynamics of impurities with long-range impurity-bath interactions