There is no limit on how long a police officer may choose to follow you before pulling you over. In other words, it is up to the officer's discretion. They can follow you for as long as it takes them to reasonably determine that you might pose a danger to public safety. So, for example, they might follow someone who was driving recklessly or carelessly for a period of time in order to see the driver commits any other traffic violations.