The position in basketball that most resembles the sweeper in soccer is the point guard.
The sweeper in soccer plays a defensive role while also being involved in transitioning the play and supporting offensive maneuvers. Similarly, the point guard in basketball is often responsible for directing the team's play, facilitating ball movement, and playing a crucial role in both defense and offense.