Simple answer: Is the charity going to do more benefit with that money than he caused his family and friends? If so, then his actions were at least a net positive from a utilitarian standpoint. It doesn't necessarily follow that it was the best action, though. Could he have raised a comparable amount of money on his own to help people with, without resorting to killing himself? If so, then I am more inclined to believe that he simply had decided to kill himself, and took advantage of it in order to try to cause some benefit for the world, which I suppose I can give (limited) support to.
In secret, an unemployed man with poor job prospects uses his savings to buy a large term life insurance policy, and designates a charity as the beneficiary. Two years after the policy is purchased, it will pay out in the event of suicide. The man waits the required two years, and then kills himself, much to the dismay of his surviving relatives. The charity receives the money and saves the lives of many people who would otherwise have died.
Are the actions of this man admirable or shameful?