The game finished 1-1 after extra-time before Boro won 8-7 in the shootout when United forward Anthony Elanga fired his spot kick over the bar.
Ralf Rangnick’s side missed the chance to open the scoring when Anfernee Dijksteel fouled Paul Pogba in the box, but Cristiano Ronaldo missed the subsequent penalty in the 20th minute.
The hosts did go ahead five minutes later, though, when Jadon Sancho’s deflected effort beat Boro keeper Joe Lumley.
United had more opportunities to extend their lead but were pegged back in the 64th minute when Matt Crooks bundled home an equaliser to force extra-time.
Here’s how each Boro player fared at Old Trafford:
A message from the Football Clubs Editor
Our aim is to provide you with the best, most up-to-date and most informative Middlesbrough 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.
. MANCHESTER, ENGLAND - FEBRUARY 04: Matt Crooks of Middlesbrough is challenged by Paul Pogba of Manchester United during the Emirates FA Cup Fourth Round match between Manchester United and Middlesbrough at Old Trafford on February 04, 2022 in Manchester, England. (Photo by Clive Mason/Getty Images)
Matt Crooks. Photo: Clive Mason
. Joe Lumley - 6
Almost gifted Bruno Fernandes a goal in the second half but also made some important saves when he was quick off his line. 6 Photo: Robbie Jay Barratt - AMA
. Anfernee Dijksteel - 6
Recovered after conceding an early penalty. Gained more confidence when stepping out of defence with the ball. 6 Photo: Getty Images
1. Joe Lumley - 6
Almost gifted Bruno Fernandes a goal in the second half but also made some important saves when he was quick off his line. 6 Photo: Robbie Jay Barratt - AMA
2. Anfernee Dijksteel - 6
Recovered after conceding an early penalty. Gained more confidence when stepping out of defence with the ball. 6 Photo: Getty Images
3. Dael Fry - 8
Wasn’t fazed by coming up against Ronaldo. Made some crucial interceptions and clearances during an excellent display. 8 Photo: Robbie Jay Barratt - AMA
4. Paddy McNair - 7
After a nervy start for Boro’s defence, McNair was quick to close down opponents and thwart danger on the left of Boro’s back three. 7 Photo: Robbie Jay Barratt - AMA