Extract the sound files from FNAF Security Breach - jestxfot/fnafsecuritybreach GitHub Wiki
If you want to extract the sound files from the game, it's quite a complicated process, especially if you don't know what you're doing, but here's a rough description:
Open the game's .pak file with Fmodel.exe or Umodel (you need a specific version, it's been posted on this sub already).
Export the contents of the "WwiseAudio" folder
Extract all the .wem and .bnk sound bank files and convert them to a playable audio format, like .wav or .mp3. You'll need a tool called vgmstream to convert the .wem files. You'll probably need some other tool to extract the .bnk files, Google is your friend.
Repackaging these audio banks with new files is probably much more involved, and I can't really help you with it.