Boot Camp Windows fails to start after installation
If use the diskutil command to delete the BOOTCAMP partition, the partitioning will change from hybrid to protective. When installing Windows, you can create a new partition for the installation of Windows. So, you do not need gdisk. Also, you do not have to disable System Integrity Protection. Enter the commands given below to delete the BOOTCAMP partition.

sudo  diskutil  unmount  disk0s4
sudo  diskutil  eraseVolume  free  n  disk0s4  


I sure hope you properly copied the Boot Camp Support Software to your USB Windows installer flash drive.

I would encourage you to also create a partition for the Windows Recovery Environment (WRE). Although, a WRE partition in not required when installing Windows.

Recommended Proceedure

This steps given below are estimated to take about a hour, but this really depends on how fast you drink coffee.


Find a coffee shop with high speed internet.
Buy a coffee.
Erase everything on your Mac.
Reinstall macOS.
Enjoy the coffee.
Install Windows 10.
Continue to enjoy the coffee.


If you need clarification regarding any part of my answer, let me know.