We present classification and explicit form of all constant solutions of the Yang-Mills equations with SU(2) gauge symmetry for an arbitrary constant non-Abelian current in pseudo-Euclidean space R p,q of arbitrary finite dimension n = p + q. We use the method of hyperbolic singular value decomposition and the method of twosheeted covering of orthogonal group by spin group to do this. Nonconstant solutions of the Yang-Mills equations can be considered in the form of series of perturbation theory. The results of this paper are new and can be used to solve some problems in particle physics, in particular, to describe physical vacuum and to fully understand a quantum gauge theory. The results of this paper generalize our previous results for the case of arbitrary Euclidean case R n .