Mixcraft 6 does have a punch in / punch out feature. If you haven't checked out Mixcraft 6 yet, try it for free on the Mixcraft download page.
For older versions of Mixcraft, here's what you can do:
1) Cut out the unwanted section of sound.
2) Arm another track and click Record.
3) When recording reaches the appropriate spot, play the replacement riff.
4) Stop recording.
5) Trim the new recording (if necessary) and then use the up arrow to move it into place on the original track.
Remember in Mixcraft, you can always have an extra track to work with. Not all the sounds have to stay on the same track.