In a large pot of boiling salted water, cook the pasta until al dente; drain.
Meanwhile, heat the olive oil in a deep-sided medium skillet. Add the bacon and garlic and cook over moderately high heat until the garlic is golden and the bacon is lightly crisp, about 4 minutes. Add the crushed red pepper and cook, stirring, for 30 seconds. Add the tomatoes and their juices, the sugar and a pinch each of salt and pepper and cook over moderately high heat, stirring frequently, until the sauce is thick, about 15 minutes. Discard the bacon and stir in the basil.
Transfer the pasta to a warmed serving bowl and toss with the sauce. Sprinkle the cheese on top and serve.