Sweden has qualified for the World Cup with a 3-2 win over Poland in Tuesday's UEFA World Cup qualifying playoff final.