From the Main Menu, toggle over to Multiplayer.
Select Unranked
Choose a session that is already saying "Race" and close to the end (lap 3/5 for example) for less time spent watching.
Press
to Join Session, then on the left, inside that lobby, select Spectate.
Trophy will pop after the race/results screen :)