I am considering this as well. I have also done a little research. etrailer.com is a good source for both parts and know how. A few suggestions / things you will need:
1. Brake controller - this goes in the cab of your truck, and sends a brake signal to the trailer's electric brakes.
2. Wiring - most basic, no-brake trailers seem to use a "flat four" wiring connector. You need one that has at least five connectors, there are a few styles. The additional connector is for your brake signal. Toyota may have much of this wiring in place for you, so you just add the brake controller in the cab and the connector in the back. Otherwise, you need to add a brake signal wire from the controller to the rear bumper.
3. Brakes on trailer. Check that you have a mounting plate for brakes, it usually has four holes. I think the easiest setup to install seems to be an electric drum brake, vs a disc setup. etrailer sells these.
I think the drum / shoe assembly is about $250, I could be wrong.
It is very do able, but will cost a few hundo bucks.