Global existence and stability of de Sitter-like solutions to the Einstein-Yang-Mills equations in spacetime dimensions $n\geq 4$