That's the right idea. I would use 3 to 5 feet of line from the 3 way to the bait. If you're painting fish near the bottom but they're not hitting the worm, some have luck with shad raps or light weight spoons. Do whatever it takes to get them near the bottom.

Have fun! Steve