Lag bolts are good but there is a better stronger fastener, check out GRK fasteners they cost more but local codes are adapting to these because they are stronger faster and lighter. You will need to find a stud to attach the 4x4's to and also have to countersink the screws. RSS Structural Screw - GRK Fasteners - The Industry's Toughest Screws