STOCKHOLM—The Swedish government on Thursday will formally seek assistance from fellow European Union members to relocate some of the thousands of migrants entering the Nordic nation, reversing an open-door policy that has made it a magnet for asylum seekers.

The government said it will ask that Sweden, which was, so far, on the receiving end of an EU burden-sharing program for asylum seekers, be allowed to benefit from it.

“The...