After enabling Auto Crossfades, here's how I would approach it:
- Select and copy (Ctrl+C) the good section, preferably with snap enabled at a fairly large value like 1/4, and starting an equal amount of time before and after the wonky part, and with endpoints at points in the waveform where the amplitude is low (snapping to zero-crossings won't matter much since you'll be cross-fading, but you can enable that in Preferences if you like).
- Snap the Now time to that corresponding same beat at the other location by clicking in the Timeline.
- Ctrl+Alt+V to Paste Special, choose 'Replace' and 'Paste As New Clips', and OK.
- Disable snap, zoom in at the Now time, and drag (Slip-Edit) either of the clip edges to overlap the other just a
tiny bit (how much depends on what's going on at the overlap - shorter is usually better, maybe only 5-10 milliseconds); the crossfade will be created automatically.
- Without zooming back out, select the pasted clip, hit the keyboard shortcut for Goto Thru (sorry mine's non-default), and drag to create the other crossfade.