First, configure your PC for USB profiles. Follow the guides for Windows or Linux.
If you are using SM5.1-beta and have followed the guides linked above, you can use the USB Profile Options menu in Simply Love to configure settings for custom songs.
Please note that support for loading custom songs from USB profiles is new to StepMania 5.1. It is not available in StepMania 5.0.12 and older.