Create paragraph styles. In the styles, you create a named list and make your styles part of the list.
You don't mention if the first number (4 in your example) is coming from a heading or chapter number. It would make a difference on how you set up the code.