Heat olive oil in a large skillet over medium-high heat. Saute the onion and garlic for 5–7 minutes, until softened and fragrant.
Add the ground beef and pork. Cook until no pink remains, drain excess fat, and season with salt and pepper.
Stir in tomato paste, diced tomatoes, sugar, basil, oregano, and red pepper flakes. Bring to a boil, reduce heat, and simmer 15 minutes. Preheat oven to 350°F.
Mix ricotta, egg, dried basil, salt, and pepper until smooth.
Boil noodles in generously salted water until al dente, following package timing. Drain and lay flat.
Grease a 9x13-inch baking dish and cover the bottom with meat sauce.
Layer three noodles, one-third of remaining sauce, one-third of ricotta filling, and 1 cup mozzarella. Repeat twice.
Finish with mozzarella and Parmesan. Cover with foil and bake 40 minutes. Uncover and bake 10–15 minutes until bubbling and golden. Rest 15 minutes before slicing.