Choose with , and let
be its extension. By the given fact, is a profinite group, hence is residually finite. The extension over is the pullback of along the injective map . Part 5(a)(iii) embeds into . Since every subgroup of a residually finite group is residually finite, so is .
Because is special, the fundamental group of a special cube complex embeds in a Right-angled Artin group. Right-angled Artin groups are residually finite by the residual finiteness of a right-angled Artin group, and a subgroup of a residually finite group is residually finite. Hence is residually finite.
If were simple, choose . A finite quotient in which survives has a proper normal kernel. Simplicity would force that kernel to be trivial, embedding into a finite group, contrary to the assumption that is infinite. This is precisely the obstruction that an infinite residually finite group is not simple.