The game finished goalless in normal time, as Rangers substitute Charlie Austin saw a goal ruled out for offside in the final ten minutes.
The match then went straight to penalties, as Aiden McGeady, Ross Stewart and Alex Pritchard converted from the spot.
QPR defender Yoann Barbet missed the decisive penalty as he blazed his effort off target to send Sunderland through.
The result led to big celebrations in the away end as 2,731 supporters packed out the away end.
Johnson’s side will now wait for Wednesday’s draw to see who they meet in the last eight of the competition.
Here, though, we take a look at some of the best pictures of fans enjoying themselves in the away end on Tuesday night courtesy of our photographer Frank Reid.
Can you spot yourself in some of these photos? Let us know on our Twitter and Facebook pages:
A message from the Football Clubs Editor
Our aim is to provide you with the best, most up-to-date and most informative Sunderland AFC coverage 365 days a year.
This depth of coverage costs, so to help us maintain the high-quality reporting that you are used to, please consider taking out a subscription to our new sports-only package here.
Your support is much appreciated. Richard Mennear, Football Clubs Editor