J.C.
Yes, and yes. Making cookies for everyone is a perfect way to say thank you. They will love that you thought of them. Since this one teacher has made a special impact its perfectly fine for your son to give her a gift. Just have him do it privately, perhaps pull her aside when you are dropping him off or picking him up?