A trillion dollars? Geez. That's some serious change the world money. The problem is though, that no matter what you do, you're going to want to invest it to prolong it's good use. That kind of influx of capital is going to set the markets on fire OR force you to take on riskier investments just to spread it around a bit more. Anyway, assuming that $1T didn't upset the entire global capital market, I would...
First 200B: K-9 education
4B endowment for every state's educational system, contingent on state funding maintaining current level AND trend (i.e. 3% bump per year or whatever). Half of the earnings to distribute and half to reinvest and pay expenses. Funds are to be used for at least one new school campus annually until all are in good condition. Remaining funds can be allocated per local wishes to reading programs, music programs, after school programs, teacher bonuses or salary augmentation, etc.
Higher Ed - tuition
200B endowment for all kids in the state of Oklahoma -- Any child that is a resident of Oklahoma gets their tuition, books, and room & board paid for to any accredited university anywhere in the world.
100B endowment, nationwide, same rules... need based tuition scholarships
Higher ed - research, facilities, etc
5B endowment for the University of Tulsa - College of Engineering
5B endowment for the University of Tulsa
5B endowment for Oklahoma State University
5B endowment for University of Oklahoma
5B endowment for all other Oklahoma universities, public or private
75B endowment, half earned reinvested, half distributed. Distributions are to be grants to universities in the US for research projects, equipment, buildings, professor endowments, etc.
50B - Domestic aid... grants are to be distributed for economic and community development, including build out of infrastructure to compete with larger metro areas for tech jobs
50B - International aid, etc... grants are to be distributed for economic and community development, including build out of infrastructure to compete with larger metro areas for tech jobs
100B - Medical aid - grants to be distributed to medical research
100B - Reserved - put it somewhere to earn interest until I think of something to do with it. 1B for me (25M/yr annual interest!), 1B for my family divided equally among them, and 98B to sit and be used on miscellaneous philanthropic things that come up every now and then. I'd probably go build a house and buy a few hundred thousand acres of ranch land and enjoy my leisure time.
100B - don't forget 10% tithing!... I think I'd give it to the church in the form of paying off all the mortgages for the churches in town, endow each one with $10M for operations another 10M for missions/outreach... then anything left over, just donate it and let them do what they will with it.