Ex-Yankees All-Star signs with NL team