In two player vs. mode, hit as many item boxes as possible until you get the speed shoes. Then, lose your life while you have them (getting squashed is the easiest way). You will return to the start of the level or the last Star Post that you hit, but you should still have the speed shoes in effect for the rest of the stage.