Three first-half goals from Cristiane, Beatriz and Marta set the Rio 2016 hosts on their way, before the latter pair doubled their tallies for the evening in the second half, with Lotta Schelin grabbing a late consolation.
Sweden face a showdown with China on the final day of Group E action on Tuesday in Brasilia, with the hosts facing now-eliminated South Africa in a dead rubber.