To sync a Nintendo Switch controller, you'll need to go into the "Change Grip/Order" menu on your console. There, you can add up to eight controllers.
If your PS4 controller won't charge, you can try swapping out the charging cable or checking the charging port.