No, if you transferred the stock directly from your broker to the charity's account, you wouldn't report it as a sale. You shouldn't get a 1099-B for this transaction, and you would claim the contribution as a charitable donation.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"