Used engines are usually $400-900 for these cars. Removal and installation of the engine is a little over 12 hours, and labor can run $80-160 per hour.
I don't think you had a broken rod. You can have two bent on a 4cyl and lose so much compression that the engine won't start. A broken rod would also probably flop around and stab through the side of the crankcase. It sounds more like you had a bearing or few bearings fail.
You have to watch the oil level closely, some cars suddenly consuming a lot of oil after a certain amount of miles. The 2003 1ZZ-FE used in the base vibe and matrix had issues like this.
PS: Snapped connecting rods in one of the Tundra engines at work, due to being overfilled with oil (oil got into the combustion chambers 7 and 8 and hydrolocked the engine)

"If you don't love me at my diddliest, you don't deserve me at my doodliest." - User ktluvscricket of reddit