Yes its random but heres how you eventually get it, take a usb upload your saved data of GT to the usb, go and use the ticket, if you dont get it reupload the saved data from your usb and use the ticket. Just repeat this until.you get the Ferrari
If you search for an specific car, you can back up your save in a usb stick and keep trying with that ticket until you get the car you want, use ticket, if not the car you want, quit game, copy save data and keep trying until it appears, it could become tiresome and annoying but it's the "best" way to do it quickly, unless you want to grind 20m to spend in that car