It depends on your league's settings, but oftentimes the commissioner will allow league members to veto trades deemed lopsided or otherwise unfair. If enough league members vote against the trade, it is voided and the players involved are returned to their original teams.