Silva (14-2, one no contest) replaces Antonio Rogerio Nogueira, who was forced to pull out of the bout with Gustafsson after suffering a knee injury in training camp.
The bout will be the first in more than a year for Silva, who was suspended for one year by the Nevada State Athletic Commission after submitting a fake urine sample one day before his Jan. 1, 2011, bout with Brandon Vera.
Silva defeated Vera by unanimous decision. The result of the fight, however, was later changed to a no contest because of Silva's failed prefight test. He was originally scheduled to make his Octagon return May 15 in a rematch with Vera. But an injury forced Vera to withdraw from the fight.
Silva was later expected to face Igor Pokrajac on the May 15 card.
Gustafsson, a resident of Stockholm, has a professional record of 13-1. He is currently riding a four-fight win streak.
Franklin McNeil covers mixed martial arts and boxing for ESPN.com. Follow him on Twitter at www.twitter.com/Franklin_McNeil.