We express the total space of a principal circle bundle over a connected sum of two manifolds in terms of the total spaces of circle bundles over each summand, provided certain conditions hold. We then apply this result to provide sufficient conditions for the existence of free circle and torus actions on connected sums of products of spheres and obtain a topological classification of closed, simply connected manifolds with a free cohomogeneity-four torus action. As a corollary, we obtain infinitely many manifolds with Riemannian metrics of positive Ricci curvature and isometric torus actions.