You need to complete 5 ranked races to unlock this trophy.
Go to Multiplayer > Ranked > and choose the ruleset for 5 Laps for the fastest turnaround.
Standings and safety don't have any bearing on whether you achieve this trophy, you'll be assigned a rank after the 5 races accordingly.