Bring 5 quarts lightly salted water to a boil in an 8-quart pot over high heat. Add the pasta and cook, stirring occasionally, until al dente, about 12 minutes. Ladle out and reserve 1 cup pasta water. Drain and reserve pasta.
Meanwhile, break the sausage into small, olive-size chunks. Heat the olive oil in a 12-inch skillet over medium-high heat. Add the sausage and cook, stirring occasionally, until brown and cooked through, about 10 minutes. Discard grease and set sausage aside in skillet.Put the ricotta into a large bowl. Add pepper, to taste. Whisk 1/4 cup of the hot pasta water into the ricotta to make it creamy and saucy. Over high heat, add the pasta to the skillet with the sausage and 1/2 cup pasta water; stir vigorously to combine.
Transfer the pasta and sausage to the bowl with the ricotta and mix well, adding some of the reserved pasta cooking water as needed to moisten the pasta. Stir in parsley and basil. Spoon the pasta into bowls and sprinkle with the pecorino and black pepper.