The name on the ticket must match the passenger's name. Not only will you and your friend get in big trouble with the airline if caught (you are violating the terms of carriage), but TSA could cause serious problems for your friend if he got caught. And while TSA normally does not check IDs when getting on a plane, there is the occasional TSA gate check. You and your friend would be taking a huge risk for a small amount of money.