Will factory-reset delete custom downloaded app's folders?
Yes it would delete.

Although if you have a Google account signed in to the device, and the app is written in a way, the app data may be backed up to your Google Drive and can be restored the next time it is installed (given this feature isn't turned off in settings.)

some older devices/android versions may give you the option not to clear internal storage.