Mountain bike freewheel replacement
The new freewheel looks like a drop in replacement. Both are 5 speed 14-28 teeth. Removal tool splines are the same so you can use the tool you presumably have.

Not sure what you mean by 'spread out'. Sprocket spacing and tooth pitch are all standardized in the bicycle world so a sprocket with the same number of teeth will be functionally equivalent.