You can turn sharing off by selecting Off from the “Social” drop-down menu under “You on Yahoo!”.
Note: After you turn sharing off, your friends will still be able to see articles and videos you previously shared in their Facebook newsfeeds and under the “Your Friends’ Activity” module. To remove a previously shared article or video from these feeds, open the Your Activity drop-down under “You on Yahoo!” and click the X next to the entry.