The good news is your truck still has a sbc engine, plentiful
Are you planning on pulling your engine and rebuilding it or buying a crate engine ? I am a car guy and build my own engines so I would build it. I have heard a few horror stories like Hit Stick posted so you need to do your due diligence.
Those are good trucks. After 2008 or so they started making the trucks way more complicated just to squeeze a tiny bit more MPG out of them. Like dropping cylinders cruising down the highway, its nuts. That feature has a issue and your truck is dead. Same thing with your alternator not charging with highway driving. That chip has a problem and your truck will not start !
Simple is good.
I drive a 2007 Tundra Limited TRD with only 100K on her. Just got it re painted.(Black) last truck I will ever buy. They are known for going 500K, even 1,000,000 miles. Toyota has bought two of them back.
The tags in CA are crazy too. That thing is still nice so fix her up I say.
I paid 32 K for mine in 2008 and a new one like it is near 80 K ? Nope.
And the new Tundras have that stupid twin turbo V6 POS engine that are blowing up right and left. The new Chevy trucks are losing their engines at a even higher rate. LS engines are not indestructible like some say.
Toyota stupidly listened to idiot car-truck review guys who called the 5.7 I Force engine "dated". It was the largest, highest tech gas V8 in trucks. Went a million miles and made 387 HP. DOHC Hemi and they replaced it. dumb.