If anyone is having the same issue, I have a fix. First, go to your Battlefield 1 directory (where the game is installed). Then create a new file text file. In that text file, add these lines:
renderdevice.renderaheadlimit 2
gstrender.thread.maxprocessorcount 4
gametime.maxvariablefps 200
You can change the processor count depending on how many cores your CPU has. Also, you can make the max frame rate anything you like (60-200). Once you add these lines, save the text file as "user.cfg" and you should be set. Also, make sure you have DX12 and v-sync turned off in game.