This sticky is for the carb you have: https://tw200forum.com/index.php?/top...dentification/
First off, no bike came from Yamaha that didn't idle or would die when giving it throttle. Which means you have more going on in the carb than just needing more fuel from a larger jet and needle shim. Not trying to sound mean, just putting that out there
Make sure the tiny o-ring that sits under the cover on the top of the carb is correctly seated. If you pulled the slide out of the carb then this could have lost its location.
Back to the sticky, the fifth picture down shows a "pilot screw plug". Remove that plug (6th picture shows one of many ways to remove it), remove the pilot screw and clean it, as well as it's passageway. That circuit is what allows the bike to idle, when clogged it won't flow fuel and the usual indicator of this is having to use choke to keep it idling. This, of course, is provided you clean the pilot jet well...it's a tiny orifice so it doesn't take much to gunk it up.
You cleaned the main jet and the needle, but sounds like you missed the emulsion tube/"main jet holder" as seen in the sticky's 2nd post, 4th picture. You can see it's just threaded in. Make sure that's cleaned up too.
Make sure throttle cables are installed and adjusted correctly.
Make sure the air cleaner is clean and there isn't a mouse nest in the intake.
Last note, with the bike sitting for 5 years the carb needs a THOROUGH cleaning. Spraying carb cleaner on everything then some compressed air won't suffice. Chances are everything is CRUSTY with old gas residue. That needs a long soaking and/or abrasive action (sometimes I cut a piece of wire off my wire brush and use that for running through the jets). If you have an ultrasonic cleaner or have access to one, that'd be the cat's meow. Only have heard great reviews.