The Real Madrid midfielder, who last played for his country two years ago, made it 3-0 as the Selecao ran out comfortable victors in Sweden.
"It's nice to get back to training and to meet the new players. I believe that this new generation is very good. I'm also happy to have scored a goal," the 30-year-old told reporters.
"Regardless of the opponent, the game was important for us. I took it seriously as we all did. It is important to play well and to score was even better."
Next up for Brazil is a friendly against Japan in Wroclaw, Poland, on Tuesday.