Australia will play its first home Davis Cup tie since 2022 after dominating Sweden in a qualifying tie in Stockholm.