This issue usually occurs if you're in the process of transferring your domain away from Yahoo! While your transfer is pending, you cannot change your name servers. As soon as your transfer has completed, you can manage your name servers with your new provider.