When attaching the using lag bolts always pre-drill and use bees wax to lubricate the bolt prior to screwing them into the wood to keep from splintering. 5/8" or 3/4" can be used for the bracket to stringer and 3/8" or 7/16" can be used for the bracket to tread.
eBay