Quantum criticality of a d-dimensional spin-S XXZ ferromagnetic model with longitudinal infinite-range interactions