Arsene Wenger's men were twice behind but turned on the style to record their fifth win from seven games to leave them six points adrift of Chelsea in fourth place, but with a game in hand.
Brough slotted the penalty to leave Quins needing a try to at least rescue a draw but despite late pressure, Wakefield held on to record a thrilling victory.