The closest is Blade Runner (1982): Ford plays Rick Deckard, a "blade runner" who uses forensic analysis, Voight-Kampff testing, and police databases to identify replicants—a scientific detective role.
Other science-adjacent roles:
No film casts him as a traditional lab scientist; his roles blend intellect with action.