The 28-year-old Wallace from Mobile, Alabama, led 58 of 267-scheduled laps, including the final 43, en route to his second Cup career victory at Kansas.
The 32-year-old Dillon from Welcome, North Carolina, became the 15th different competitor of the 2022 season to win and clinch a spot for the Cup Series Playoffs.
Chase Elliott finished third in the M&M's Fan Appreciation 400 at Pocono, but was awarded the win when first and second place winners Denny Hamlin and Kyle Busch were disqualified.
The 2020 Cup Series champion was awarded his fourth victory of 2022 at the Tricky Triangle following the post-race disqualifications of race winner Denny Hamlin and runner-up Kyle Busch.
The two-time Xfinity Series champion from Corning, California, led the final 16 laps and muscled away from Elliott en route to his first win in his 92nd start in NASCAR's premier series.