Two part answer:
1) Security: Any components taken aboard an aircraft (cabin or cargo) are going to be carefully scrutinized and assessed for possible risks. If all components are in sealed, labeled, clear, inspectable bags you may be okay. However, best that you check the American TSA requirements beforehand.
Here is one link:
http://herpackinglist.com/2016/07/electronics-at-airport-security-checks/
Best to check here:
https://www.tsa.gov/travel/travel-tips/travel-checklist
2) Customs: You may or may not be required to pay import taxes on the components you carry back into India. You need to check the applicable import/custom laws that will be applied when you return home. You may, for example, be allowed to bring in...