Thank you for your question, and thanks for using JustAnswer.com. You can definitely gift the stock to the organization, but if they are not considered a charity (501(c)(3) or similar) then you cannot deduct the transaction from your tax return
The entity will inherit your basis in the stock. You will avoid the tax on the sale, but you will lose the benefit of a deduction.
The non profit would then deal with selling the stock.
Non profits do not have to pay capital gains tax, so they probably won't mind at all to take your securities directly.
Is there anything else that you need assistance with?
If not, please rate my response "Excellent" so that I may receive credit for assisting you today