1. Preheat your oven to 300°F (150°C).
2. Mix together brown sugar, paprika, garlic powder, onion powder, salt, and black pepper in a bowl.
3. Rub the spice mixture all over the ribs.
4. Wrap the ribs tightly in aluminum foil and place on a baking sheet.
5. Bake in the preheated oven for 2.5 to 3 hours.
6. Remove the ribs from the oven and carefully unwrap the foil.
7. Brush the ribs with BBQ sauce.
8. Place the ribs back in the oven, uncovered, and bake for an additional 30 minutes.
9. Remove from the oven and let rest for a few minutes before serving.