If it's a freehub, get a 7 or 8 speed cassette and toss the extra cogs.
Hammer out the assembly pins, if necessary (or you might have to grind them a bit if they're peened in place), pick the cogs you want and use extra spacers.
If it's not a freehub, Shimano 5 speed freewheels are dirt cheap and everywhere.