Realization of aperiodic subshifts and uniform densities in groups