Florian Wirtz opened the scoring after just nine minutes at Anfield ahead of a 33rd minute Wilson Isidor leveller.
The Reds were pushing for a second goal all throughout the second half, and introduced Barcola for Rio Ngumoha after 63 minutes.
He came close to scoring after 80 minutes but rushed his half-volley and blasted the ball wide of the target.
But Barcola, who struggled to impose himself in Sunday's 1-1 draw at Everton, netted his first Premier League goal in his 11th top-flight since signing from Paris St-Germain.
An Alexis Mac Allister's strike deflected and landed at his feet of Barcola, and he made no mistake from close range.
Speaking after the game, Red boss Andoni Iraola, said he was please for the player to break his Liverpool duck.
"That was a great moment," Iraola said on BBC.
"It's his first goal at home and also the chance to celebrate the winner with the supporters singing his name. It was a very good thing for his confidence.
"Bradley has had very good moments with us. He has had lots of assists, goals in the Champions League, and I think he is always a threat.
"When he has more spaces, today in a couple of situations they foul him and he is always a threat.
"I like this, he continues going even if he has a couple of bad touches or loses a couple of balls. He goes again. He is not one to hide. He has this personality. With goals, he can help also to continue trusting himself."
Sunderland manager Regis le Bris, meanwhile, bemoaned Liverpool's opening goal, saying he felt the ball had gone out of play in the build-up.
"The angle I saw it was absolutely obvious [that the ball went out of play]," Le Bris told Match of the Day.
"It is really clear to make this decision. We need to accept it."
Liverpool ended the evening in third place on the league standings with 25 points from 13 games. The Black Cats are in 18th with nine points from their opening 13 matches.