The flaps will work. You will need to use some offset brackets as well. This will give extra length to the flaps. The brackets are here, starting at option 3,https://www.sharptruck.com/truck-hardware-universal-mud-flap-brackets.
With the offset brackets they will work on the front or rear wheel wells
You need to have at least 1/2" clearance in the wheel well when you turn the tires before you install the flaps. If you do not have that much clearance the tires will rub on the flaps.