then when i want to play them i just select the song and send the yamaha keyboard the settings.
What do you mean? Are you talking about MIDI files or are you trying to make just regular audio files trigger your keyboard?
Also, if you are having chronic crashes it is likely due to your system and it's settings. Sonar X2 is still buggy but under the right conditions it works. What are your system specs/OS, what audio interface are you using and what do you have the audio buffers set to? The lower the latency settings the more likely you are to have crashes.
Also factory default settings are not great for doing audio work. If you want the correct system settings follow the Cakewalk optimization guide on this site.