Preheat your oven to 300°F (150°C).
Remove the membrane from the back of the ribs.
Mix brown sugar, paprika, salt, black pepper, garlic powder, and onion powder in a bowl.
Rub the spice mixture all over the ribs.
Wrap the ribs in aluminum foil and place on a baking sheet.
Bake in the preheated oven for 2.5 hours.
Remove the ribs from the oven and increase the temperature to 350°F (175°C).
Brush the ribs with BBQ sauce and return to the oven, uncovered, for 30 minutes.
Remove from the oven and let rest for 10 minutes before serving.