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