Maybe try a footswitch, not sure if it would work but in theory it could send a programme change command?
Dont know how you would get it to mute or solo other tracks tho....
I know theres a way of getting the line 6 pod footboard to control guitar rig through a DAW if you have that?..
Would you be using Sonar as a backing track device? I.e playing along to pre-recorded/programmed drums for example? If so you could automate the changes and mutes and solos within the timeline of the songs.