Pakistani citizens and non-EU nationals legally residing in Pakistan who want to visit Sweden for more than 90 days, can apply for a visitor's residence permit.
More information about visitor's residence permits can be found on the Swedish Migration Agency's website.