Is it unethical to edit grammatical errors in a letter of recommendation?
Speaking strictly as a matter of ethics, I would have to say no, it would not be unethical so long as you did not change any of the actual words (other than perhaps correcting their spelling) or change the meaning / intent of the letter. I would further add that you may even be saving the person some level of embarrassment.