Heat the oil in a large, deep skillet over medium heat. Once it's hot, add the beef and cook, breaking it up, until it's browned throughout. Then drain any excess grease and add the onion to the skillet. Once the onion softens up, add the garlic and cook another minute or so, until fragrant. Stir in the crushed tomatoes, brown sugar, basil, salt and pepper, then lower the heat and let it simmer while you start cooking the pasta.